Forum OpenACS Q&A: Apache, AOLServer and Virtual Domains: how?
after reading the documentation that comes with mod_aolserver i get the feeling that its purpose is to *replace* AolServer with apache.
that's not necessarily what I want... I'm looking for a way for the two webservers to coexist.
so i'm back to asking again... what must i do in order to get the two together without resorting to port numbers other than 80?
any input appreciated!
You can setup apache as a reverse proxy to AOLserver running on another port.
If I recall, you need to setup ProxyPass declarations in the apache config file.
I actually used this to proxy AOLserver running on a different machine, but I think it would work the same if they are all on the same machine.
that was *exactly* what I was looking for!
<VirtualHost *> ServerName photos.hollyjerry.org proxypass / http://192.168.0.16:7000/ proxypassreverse / http://192.168.0.16:7000/ </VirtualHost>
It is set up to pull data from
when a user enters
It works, but for some reason the user is given back
(this setup works for other platforms without changing anything on the target machine).
I guess I have to tell AOLServer about this. If so where?
I set SystemURL to http://nice.short.address.at.my.uni
Site Map -> ACS Kernel Parameters
I set hostname to nice.short.address.at.my.uni in the AOLServer config file (not sure if this was needed though)
After doing this I noticed an interesting behavior-whenever there is a lagging slash in an address ( http://nice.short.address.at.my.uni/dotlrn/ ) the short URL is returned, but an address without it /dotlrn/admin returns the long URL. I am going to revisit this after talking with the guy who set up the Apache proxy (rewrite rule weirdness?).