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