[thelist] Trouble with .htaccess Redirects and a Tip
Bob Haroche
bharoche at usa.net
Wed Apr 17 11:10:10 CDT 2002
Hi Eric,
Thanks for the quick reply.
> Have you tried
> Redirect permanent /olddirectory http://myDomain.com/newdirectory/
Yes, that's my current sytnax (see my original post). Works for requests for
olddirectory but not for requests for olddirectory/.
> How about
> Redirect permanent /olddirectory/ http://myDomain.com/newdirectory/
Yes, tried that as well. That works for requests for olddirectory/ but
requests for olddirectory (no trailing slash) results in a 404. AND if I
include both your suggestions, then if someone requests olddirectory/ they
get olddirectory// -- and that nasty 404.
This is why I think I need some sort of wild carding and/or mod re-write.
Regards,
Bob Haroche
O n P o i n t S o l u t i o n s
http://www.OnPointSolutions.com
More information about the thelist
mailing list