mirror of
https://github.com/Vitexus/james-squid-redirector.git
synced 2026-04-04 05:50:32 +00:00
No description
| nbproject | ||
| james-redirector.hxx | ||
| main.cpp | ||
| Makefile | ||
| README.md | ||
james-squid-redirector
an Squid Url redirect plugin/filter for static images cache
At start read libconfig file /etc/james.conf to read sql and paths information
then read caching domain from database and rewrite urls from stdin to stdout
example:
libconfig file contents example:
dbhost = "localhost";
dbname = "dashboard";
dblogin = "username";
dbpassw = "password";
interface = "eth0";
cachepath = "/cache/inmyclub.net/";
webroot = "/var/www/";
use binary in squid.conf as url_rewrite_program argument