Link to home
Start Free TrialLog in
Avatar of RJLemon
RJLemonFlag for Canada

asked on

Apache Custom Headers with ReverseProxy

I am trying to create a custom header for all sites served by an Apache server

Header set X-UA-Compatible "IE=EmulateIE7"

I have placed this in the .htaccess file and the <Directory /> tag of the httpd.conf file.

It shows up for all sites served from the apache server /rontest.html but for /index.html which does a redirect to /otherserver which goes out through a proxy pass to http://localhost:8080/mainsite (this is running under TomCat) the custom header does not come through.

Is there something else I need to do or does this just not work?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of caterham_www
caterham_www
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RJLemon

ASKER

Thanks.  Worked great.