Joshua,

Just verified that these are the RAW headers that the server is seeing :

This is from a ktrace session on the server (with x's to preserve anonymity):

64160 httpd    GIO   fd 4 read 558 bytes
      "GET /info.php HTTP/1.0\r
       Host: tim.xxxxx.com\r
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,im\
       age/png,*/*;q=0.5\r
       Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r
       Accept-Encoding: gzip,deflate\r
       Accept-Language: en-us,en;q=0.5\r
       Cache-Control: no-cache\r
       Pragma: no-cache\r
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firef\
       ox/1.0.4\r
       Via: 0.0 tim.xxxxx.com\r
       X-Forwarded-For: 209.xxx.xxx.116\r
       X-Forwarded-Host: tim.xxxxxx.com\r
       X-Forwarded-Server: tim.xxxxxx.com\r
       Connection: close\r
       \r
      "

As you can see, the "X-Forwarded-For" header is sent.

In my SetEnvIf statement, I cant seem to set another environment variable that will allow me to not log it, cause for some reason it doesn't appear to see that header variable.

Tim.


Joshua,

actually, PROXY_ADDR is an environment variable that is created by mod_extract_forwarded...

But, HTTP_X_FORWARDED_FOR is a header that is sent with the request from the proxy machine to the destination. I have also tried to use this variable, but to no avail...

On your recommendation I tried HTTP-X-FORWARDED-FOR, but that doesn't work either.

If what you said is true (that the headers have dashes instead of underscores, then how is it that SetEnvIf works using Remote_Addr ???

Ultimately, the question becomes, how do I not log a proxy request ?

Thanks,

Tim.








---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to