problem with apache reverse proxy
hi there,
after many trys i hope the list can help me.
becuase of security reasons i setup a reverse
proxy for multible domains
problem is, with the following config i only get
the primary domain
vhosts on reverse proxy:
Hi,
ProxyPassReverse ^/(.*)$ http://test2.kempten.lan$1 (here is a / missing, put this is probably only in the example?)
if the backend server uses named virtual hosts as in your case, you must use one of * ProxyPreserveHost Off on the reverse proxy * mod_header with RequestHeader set Host in a <Proxy> block on the reverse proxy * ServerAlias dummy.domain.de , etc. on the backend server Hope this helps. Cheers, Stefan
participants (2)
-
Dörfler Andreas
-
sf@sfritsch.de