Stephen(Tie) Hu wrote:
Hi,
I am using apache http server as a proxy. It's working quite well except it doesn't add HTTP_X_FORWARDED_FOR header. Does any one know how to force apache to add HTTP_X_FORWARDED_FOR header? 1000 thanks in ahead! Here is my apache server's version:
Server version: Apache/2.2.6 (Unix)
Server built:   Sep 18 2007 11:26:13
Here is my apache configuration section:
ProxyRequests On
<Proxy *>
    Order deny,allow
    Allow from all
</Proxy>
KeepAlive On
MaxKeepAliveRequests 100
AddDefaultCharset Off
Very Best Regards!
Stephen
Your configuration describes an open proxy server.
Be sure to read the warning at 
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html carefully.

The HTTP_X_FORWARDED_FOR header is only provided when httpd is acting in a reverse-proxy mode, e.g. when using the ProxyPass directive.

See http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers.

-tom-



---------------------------------------------------------------------
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