aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-06-24 13:05:09 +0200
committersteckbrief <steckbrief@chefmail.de>2016-06-24 13:05:09 +0200
commitd9cc3974f5a5aa7318c3cf1c99a1fc89d38f5084 (patch)
tree26b66d86380da1de665702ebaf397a3e2e4bd61c
parenta139b9c4ea532f62143fc14b8e82b11a7be74192 (diff)
simple deployment instructions added
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..f3e3d72
--- /dev/null
+++ b/README.md
@@ -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`. \ No newline at end of file