From 72a7bb5db426d366846ecf8ac3cced392b7a9bcb Mon Sep 17 00:00:00 2001 From: steckbrief Date: Fri, 24 Jun 2016 13:35:39 +0200 Subject: simple deployment instructions added --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f3e3d72..d86268b 100644 --- a/README.md +++ b/README.md @@ -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" -- cgit v1.2.3