Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: trying to add header field using PerlInputFilterHandler to proxy
 packets

William T

2009-06-30

Replies: Find Java Web Hosting

Author LoginPost Reply
On Mon, Jun 29, 2009 at 8:07 PM, Brandon Allgood<allgood@(protected):
> I am running an apache server 2.2.3 on CentOS 5.2. I have turned on the
> proxy with the following lines from my apache.conf:
>
> <IfModule mod_proxy.c>
> ProxyRequests On
> <Proxy *>
>   Order deny,allow
>   Deny from all
>   Allow from all
> </Proxy>
> </IfModule>
>
> I would like to add a header field to all requests going through the proxy.

If your adding a static header you can just use the Apache directive
'Header'. Using mod_perl to add a static header is somewhat overkil.

-wjt
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.