httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ml ml <mliebher...@googlemail.com>
Subject [users@httpd] Reverse Proxy: Max-Forwards has reached zero - proxy loop?
Date Tue, 09 Jun 2009 08:30:57 GMT
Hello List,

i am trying to access a M$ Exchange Server via a Apache Reverse Proxy.
But i am getting the error: Max-Forwards has reached zero - proxy
loop?

I already checked, if some name resolved to itself (which WAS the case
and i fixed it), but it still does not work.

Here is the setup and config:
=========================

ppp0 IP: webmail.example.com (resolvses to 123.123.123.123 from official dns)
eth0 IP: 192.168.123.123 (LAN IP) and webmail.example.com (resolvses
to 192.168.123.5 from apche/internal)


<VirtualHost 123.123.123.123:443>
  ServerName webmail.example.com
  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 https://webmail.example.com/exchange
  ProxyPassReverse /exchange https://webmail.example.com/exchange
  ProxyPass /exchweb https://webmail.example.com/exchweb
  ProxyPassReverse /exchweb https://webmail.example.com/exchweb

  AddType application/x-httpd-php .php
</VirtualHost>



INTERNET <==== webmail.example.com (123.123.123.123) =====> Linux/LAMP
<=== 192.168.123.123 ====>  Exchange (192.168.123.5)

What am i doing wrong here and why does it loop?

Thanks a lot,
Mario

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message