httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Raikes" <>
Subject [users@httpd] redirecting with apache 1.3
Date Tue, 12 Oct 2004 19:05:53 GMT

I am running an apache 1.3 server on a sunos 4 box.
Also on that box I have Oracle's oc4j webserver running on port 8888.

I have 2 dns entries for the box
address1, and address2.
When someone accesses address1, I want it to be handled by the default
virtualhost of my apache server.
When someone accesses address2, I want my second virtual host to be
accessed, but I want to redirect all requests to their associated pages on
the oc4j server.

I am a little unclear about how to get this to work.
If I use:
<virtualhost *>
servername address2
redirect address2
redirectmatch (.*)\*.html$1.html

Will that direct
http://www.address2 to

http://www.address2/test.html to

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message