Reverse Proxy: Max-Forwards has reached zero - proxy loop?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux