diff options
author | steckbrief <steckbrief@chefmail.de> | 2016-06-24 13:35:39 +0200 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2016-06-24 13:35:39 +0200 |
commit | 72a7bb5db426d366846ecf8ac3cced392b7a9bcb (patch) | |
tree | ffece8984a56b67f086fc552936bfb80b7dc150e | |
parent | d9cc3974f5a5aa7318c3cf1c99a1fc89d38f5084 (diff) |
simple deployment instructions added
-rw-r--r-- | README.md | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,9 +1,9 @@ -mvncache -========== +#mvncache + simple maven cache and proxy in php -Use in apache ---------------- +## Use in apache + Put the script `src/mvncache.php` in the directory you want to be used as maven proxy. Next to the script copy the following lines to `.htaccess`: RewriteEngine On @@ -11,8 +11,7 @@ Next to the script copy the following lines to `.htaccess`: RewriteRule ^.*$ mvncache.php [L] Make both files accessible for apache. -Possible use in lighttpd ---------------- +## Possible use in lighttpd Put the script `src/mvncache.php` in the directory you want to be used as maven proxy. Add the following line to your virtual host configuration: server.error-handler-404 = "/mvncache.php" |