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

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