Forum OpenACS Q&A: Using Apache1.3.28 no ssl, attempting VirtualHosts and ProxyPass ...

Hi,

I've setup ProxyPass by it's self in the httpd.conf and that works correctly.  Then when i adde VirtualHosts it fails.  Every time i remove the VirtualHosts, ProxyPass begins to work again.  When i add the VHs back the PP fails.  Any thoughts or ideas?  I've also tried adding the proxy pass to a virtual host and it still did not work.  I've read many articles about this on the net.  What is unclear to me is does this combination of these only work on ver2 of Apache?  I'm using ver 1.3.28 of Apache without SSL.  It just seems really odd that i've followed the documentation and other FAQs relating to this and am not achieving the desired result.

Well, hopefully someone can help with this.  Thanks in advance.

This is almost exactly the wrong place to post this, since the vast majority here use AOLserver, but here goes nothing!

1.3.27 (RedHat version, from rpm):

Possibly relevant bits of httpd.conf:
<IfModule mod_proxy.c>
    ProxyRequests Off
</IfModule>

<VirtualHost *>
    ServerAdmin youremail@somewhere
    ServerName somewhere.acornhosting.net
    ServerAlias otherdomain.acornhosting.net
# do not turn proxyrequests on!
# turning proxyrequests on can allow your server to be exploited as an open proxy
# needless to say, this is a baaaad thing
# and will get you into major hot water with your upstream provider
    ProxyRequests Off
    ProxyPass / http://1.2.3.4:8000/
    ProxyPassReverse / http://1.2.3.4:8000/
    NoCache *
</VirtualHost>

Hope that helps.  If not, you might try an Apache-related mailing list or forum?