httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] Reverse Proxy: Max-Forwards has reached zero - proxy loop?
Date Wed, 10 Jun 2009 08:47:50 GMT
On Tue, 2009-06-09 at 22:37 +0200, ml ml wrote:
> Hi Nick,
> it still does not work if i use:
> <VirtualHost>
>  ServerName
>  SSLEngine on
>  SSLCertificateFile /usr/local/apache/conf/webmail.example.cert
>  SSLCertificateKeyFile /usr/local/apache/conf/webmail.example.key
>  SSLProxyEngine on
>  RewriteEngine on
>  RewriteRule ^/$ /exchange [R]
>  ProxyPass /exchange
>  ProxyPassReverse /exchange
>  #ProxyPass /exchweb
>  #ProxyPassReverse /exchweb
>  AddType application/x-httpd-php .php
> </VirtualHost>
> Still the same error. Any further ideas?
> Thanks,
> Mario

This configuration is nonsense. It says "This site is, and you get its content by proxying to", which is why you get these loops. You
cannot proxy yourself to yourself and expect to get something that

Seeing how this is certainly not your real config, I can't guess as to
what you are intending. You need to proxy to your exchange server, and
using the name that apache can use to get there.

Eg. if your exchange server is '', and your apache
server is '', then your proxy lines should be:

ProxyPass /exchange
ProxyPassReverse /exchange

Your apache server, according to your conf file, is accessible at , so it is not possible for your exchange
server to be at the same address. Put the right address in, and it will


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