On 5/11/07, moh bad <mohamed@xxxxxxxxxxx> wrote:
sorry, you're right I need to give some explanation I have an apache server behind a reverse proxy, The reverse-proxy handles ssl connexion and send the request to the apache server. But when the apache server send an redirect with a Location header, the reverse-proxy didn't rewrite the value of this header. 1/ So the client access for example https://www.toto.com 2/ the reverse proxy handles the ssl connexion, and send the request to apache server So apache server receive a request on http://www.toto.com site 3/ Apache server send a redirect to http://www.toto.com/document 4/ the reverse proxy send to the client the redirect as-is without rewriting it to https://www.toto.com/document So, I wanted to solve this problem by rewriting the Location header before apache server send the response headers.
You need a "ProxyPassReverse statement. http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypassreverse -- krist.vanbesien@xxxxxxxxx Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx