Forum OpenACS Q&A: Re: Apache, AOLServer and Virtual Domains: how?

Collapse
Posted by Dave Bauer on
Tom,

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.

Collapse
Posted by Tom Lazar on
Dave,

that was *exactly* what I was looking for!

thanks!

Collapse
Posted by Carl Robert Blesius on
We have an Apache setup as a reverse proxy (on a different box).

It is set up to pull data from
http://someOpenACSserver.withAreallyLONGaddress.at.my.university:8000
when a user enters
http://nice.short.address.at.my.uni

It works, but for some reason the user is given back
http://someOpenACSserver.withAreallyLONGaddress.at.my.university:8000
after entering
http://nice.short.address.at.my.uni
(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?

Collapse
Posted by Carl Robert Blesius on
Here is what I have done so far:

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?).