[ale] Apache redirect question
Jim Popovitch
jimpop at yahoo.com
Fri Sep 15 17:15:35 EDT 2006
I need to change an existing apache2 server to redirect all but a
handful of URLs to an external site. Right now I can redirect all but
one URL using the following syntax:
RedirectMatch !^/cgi-bin/test.pl http://www.newsite.net
The above transfers all incoming requests to www.newsite.net, but still
allows for access to www.oldsite.net/cgi-bin/test.pl
What I want to do is also allow access to the following:
www.oldsite.net/cgi-bin/test2.pl?blah
www.oldsite.net/cgi-bin/other.pl
Any idea on how this would be accomplished while still redirecting
everything else to www.newsite.net?
TIA,
-Jim P.
More information about the Ale
mailing list