Forum Moderators: phranque

Message Too Old, No Replies

Redirect / RedirectMatch question

pls help - its urgent

         

deepadev

5:38 am on Nov 29, 2005 (gmt 0)

10+ Year Member



Hi,

I have a general question on Redirect/ RedirectMatch:

Can these two take backreferences as part of the URL to be redirected to?

eg.
Is this supported :

Redirect /cgi-bin/appname/(.*) [some.remote.ip.addr...]

or

RedirectMatch /cgi-bin/appname(.*) [some.remote.ip.addr...]

please let me know if this is right or wrong or what ..

thanks in advance,
Deepa

coopster

4:08 pm on Nov 29, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



The RedirectMatch [httpd.apache.org] Directive can. The Apache manual is a great resource, you can often find most of your answers there too, especially when you find yourself in a sense of urgency.