httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Boylan <>
Subject [users@httpd] Reverse proxying fooled by port forwarding?
Date Mon, 24 Nov 2008 18:08:47 GMT
ProxyPassReverse does not seem to be handling redirects properly.  I
would appreciate any help diagnosing or solving the problem.

I have an apache 2.2 server with name-based virtual hosting.  I want to
send requests I receive for that machine ( to
another server via an ssh tunnel.  Inside the virtual host I have
	ProxyPass / http://localhost:8000/
	ProxyPassReverse /   http://localhost(:8000)?/
	ProxyPassReverseCookieDomain localhost
	ProxyHTMLURLMap ^http://localhost(:.*)?(/.*)? \$2

The remote server, a twiki, sends back complete path locations like

These are not rewritten on the way back; that is, the original request
comes in at, but when the remote server
responds (I believe it's a redirect) with localhost/cgi-bin/twiki this
does not get rewritten to

I tried enabling the rewrite log, but it doesn't seem to pick up any of
the relevant activity.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message