Forum OpenACS Q&A: Re: Apache as reverse proxy

Collapse
Posted by David Kuczek on
Alfred, I am running RH 8.0... forgot to mention that.

David, I changed my config file, but it still doesn't work properly:

<VirtualHost *>
    ServerName www.myserver.de
    proxypass / http://www.myserver.de:8000/
    proxypassreverse / http://www.myserver.de:8000/
</VirtualHost>

<VirtualHost *>
    ServerName sd1.myserver.de
    proxypass / http://sd1.myserver.de:8000/
    proxypassreverse / http://sd1.myserver.de:8000/
</VirtualHost>

<VirtualHost *>
    ServerName sd2.arasis.de
    proxypass / http://sd2.myserver.de:8000/
    proxypassreverse / http://sd2.myserver.de:8000/
</VirtualHost>

Now ad_host always shows me the value of proxypass of the *top* VirtualHost tag... In this example www.myserver.de