Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logging x-forwarded for

Status
Not open for further replies.

SM777

Technical User
Mar 7, 2001
208
GB
How do I get the log file to record the variable X-Forwarded-For?

I'm using webmin and have this entry for the log format:

%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %T %v "%{X-Forwarded-For}i"

It all works fine apart from the end bit - the log file is not recording anything.

Do I need to tell apache to use the x-forwarded-for variable?

1.3.20
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top