simple deployment instructions added
This commit is contained in:
parent
d9cc3974f5
commit
72a7bb5db4
1 changed files with 5 additions and 6 deletions
11
README.md
11
README.md
|
@ -1,9 +1,9 @@
|
||||||
mvncache
|
#mvncache
|
||||||
==========
|
|
||||||
simple maven cache and proxy in php
|
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.
|
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`:
|
Next to the script copy the following lines to `.htaccess`:
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
@ -11,8 +11,7 @@ Next to the script copy the following lines to `.htaccess`:
|
||||||
RewriteRule ^.*$ mvncache.php [L]
|
RewriteRule ^.*$ mvncache.php [L]
|
||||||
Make both files accessible for apache.
|
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.
|
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:
|
Add the following line to your virtual host configuration:
|
||||||
server.error-handler-404 = "/mvncache.php"
|
server.error-handler-404 = "/mvncache.php"
|
||||||
|
|
Loading…
Reference in a new issue