httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] rewrite rule for mingle
Date Fri, 11 Jun 2010 15:31:16 GMT
OK, that makes everything clearer.

BTW, you are proxying /mingle/. That final / has meaning, please be
precise about whether something has a trailing slash or not. Your
first examples of attempting to access '/mingle/' through the proxy
were requesting the URL '/mingle', which is why you got 404s. You did
later show logs where you had requested it properly, so I could
understand, but you must use the correct URLs, or things _wont_ work.

OK, so when you go to the proxy and request a mingle URL, the mingle
server returns this Location header:

When you go directly, by specifying the IP address, the mingle server
returns this Location header:
Location: http://localhost:8080/profile/login

When this is processed by the proxy, it must be rewritten to this:

so change this line in the configuration:
ProxyPassReverse /mingle/

to this:
ProxyPassReverse /mingle/

ProxyPassReverse roughly means this:
For each appropriate header, search for the second argument in the
value, and if found, replace with the first argument and reconstruct
the protocol, host and port according to the host headers/vhost name.

Restart apache, and re-do the tests.


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