|
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#000080"
ALINK="#FF0000"
>
[Need image here]Module mod_extract_forwarded
This module is contained in the You should really read the README file to understand the access control implications of using this module. AllowForwarderCaching directive
Syntax: AllowForwarderCaching boolean AllowForwarderCaching determines if any caches along the request path are allowed to cache this response. On means any and all caches along the request path may cache this. Off means no caches along the request path may cache this. The default if this directive is not specified is On. Example: AllowForwarderCaching On <Location /sensitive> AllowForwarderCaching Off </Location>
This allows caching for the entire site, except for objects inside the
AddAcceptForwarder directive
Syntax: AddAcceptForwarder host AddAcceptForwarder adds host to the list of proxy hosts from which we will honor the X-Forwarded-For header and subsitute in the forwarded IP. The default if this directive is not set is to not honor X-Forwarded-For from any proxies. Note that this is cumulative inside container directives, adding to the accept list without destroying anything already in it. Host is one of the following:
Example: AddAcceptForwarder proxy1.systhug.com <Directory /home/httpd/html/all_public> AddAcceptForwarder proxy2.systhug.com </Directory>
This accepts X-Forwarded-For from proxy1 for the entire site, and
additionally accepts from proxy2 for objects in the
RemoveAcceptForwarder directive
Syntax: RemoveAcceptForwarder host RemoveAcceptForwarder removes host from the list of proxy hosts from which we will honor the X-Forwarded-For header. The default if this directive is not set is to not honor X-Forwarded-For from any proxies. Note that this is cumulative inside container directives, removing host from the accept list but no others which are already in it. If host is not in the accept list the directive has no effect. Host is one of the following:
Example: AddAcceptForwarder proxy1.systhug.com AddAcceptForwarder proxy2.systhug.com <Directory /home/httpd/html/dont_trust_proxy2> AddAcceptForwarder proxy3.systhug.com RemoveAcceptForwarder proxy2.systhug.com </Directory>
This accepts X-Forwarded-For from proxy1 and proxy2 for the entire
site, except inside the |