LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Squid reverse proxy

[ILUG] Squid reverse proxy

Robert Sweetnam linux at sweetnam.eu
Sat Jan 19 14:23:27 GMT 2008


Thanks to all those who replied.

Paulo, and John, both of your suggestions did the trick.

Thanks again,
Robert

Paolo Marchiori wrote:
> from http://wt.tuxomania.net/projects/squid/http_accel/setup.txt 
> (found googling for "apache customlog squid x-forwarded-for"):
>
> --begin--
> The only client Apache sees is Squid, thus the usal log file format
> definitions will log 127.0.0.1 as the ip address of all requests. More
> meaningful are the ip addresses of the original clients. That information
> is transmitted by Squid in the header named X-Forwarded-For. Use the
> following format to have that style:
>
> LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
> \"%{User-Agent}i"" cached
> --end--
>
> You can achieve a similar result in IIS as it has a log customization 
> setting too - I don't have any handy so I can't tell you the exact 
> solution, sorry.
> p.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell