Redirect help
I have OS X server running two web servers, the primary server is the included apache 2.x supplied with the OS X server software running on the default port 80. The second is a CMS that runs on port 8080.
There are 5 web site that apache is hosting and two that the CMS takes care of. I wish to have Apache handle all of the web requests so that to the outside user all urls seem to be standard with no port identities showing. to do this I have added two additional sites to Apache that I want to use the redirect capabilities to change the URL seen be the end user, as well as redirect the request to the correct server.
Example:
User requests http://www.example.com
I would like apache to see the above pattern, and redirect it to:
http://www.example.com:8080/dir1/dir2/
And I would like the resulting URL to be shown in the users browser as:
http://www.example.com
I have to admit I have not used the redirect capabilits very much, and am reading the apache.org site for info on mod_rewrite and trying to apply that to OS X server via the GUI for the web server.
Any help?
Tom
Lots of Macs, Mac OS X (10.5.4)