simple deployment instructions added
This commit is contained in:
parent
a139b9c4ea
commit
d9cc3974f5
1 changed files with 19 additions and 0 deletions
19
README.md
Normal file
19
README.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
mvncache
|
||||
==========
|
||||
simple maven cache and proxy in php
|
||||
|
||||
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
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^.*$ mvncache.php [L]
|
||||
Make both files accessible for apache.
|
||||
|
||||
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"
|
||||
This path is relative to the value in `server.document-root`.
|
Loading…
Add table
Reference in a new issue