Here's an apache module that might be useful for some people:
http://stderr.net/apache/rpaf/ It's similar to "mod_extracted_forward'. It rewrites the remote_addr for apache on the backend, so that Apache logs will see the client IP address and not varnish server's address. I also added this to the .vcl as was recommended in the Varnish FAQ: sub vcl_recv { # Add a unique header containing the client address remove req.http.X-Forwarded-For; set req.http.X-Forwarded-For = client.ip; # [...] } It's also useful if you're using mod_bwshare - and are trying to throttle usage by IP address. ------ Brian Y. Pan Light Management Consulting LLC Princeton, NJ 08540 USA Tel: +1 (609) 651-4779 Fax: +1 (609) 651-4799
_______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc