Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass headers with ProxypassMatch or RewriteRule to proxy server?

Status
Not open for further replies.

nehay2j

Programmer
Nov 5, 2013
1
US
Hi,

I am reading the proxyserver name from the url using proxypassmatch and then try to forward to proxy server. It works fine but it doesnot pass the header, cookie information to proxy server. ProxypassReverse does not seem to pass the header information when proxypassmatch is used as it does not take regex.


Here is the code -

RewriteEngine On
#ProxyPassMatch ^/(.*)$ RewriteRule ^/(.*)$ [P,R]
ProxyPassReverse /
Thanks
 
I want to say that mod_jk has the ability to pass additional information - is apache handing this off to tomcat?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top