No description
Find a file
2025-01-13 13:20:26 +01:00
.forgejo/workflows no debug output 2025-01-13 13:20:26 +01:00
src adds two more maven repositories: google and central.maven 2018-11-28 21:16:50 +01:00
.htaccess update path to php file 2025-01-13 12:43:32 +01:00
README.md simple deployment instructions added 2016-06-24 13:37:41 +02:00

#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.