Forum OpenACS Q&A: Re: Running Apache and AOLServer Together

Posted by Patrick Giagnocavo on
You are close to having it work right...

There are two ways to do this:

1. Have Apache use ProxyPass and ProxyPassReverse - in this case the url in the browser will show for example - you would have 2 virtual hosts, and only proxypass , while configuring Apache to handle the requests directly.

2. Use Redirect to redirect a user directly to (this will show in the browser).

You absolutely need virtual hosting set up for it to work right.

If you cannot setup NameVirtualHost *:80 etc. , you will have to load the Rewrite module and then redirect or proxy based on that - which is unnecessary and more prone to failure than the simpler methods above.