[thelist] Trouble with .htaccess Redirects and a Tip
Means, Eric D
eric.d.means at boeing.com
Wed Apr 17 12:19:01 CDT 2002
Gotcha. What if you do
Redirect permanent /oldirectory http://myDomain.com/newdirectory
?
It'll force as many as three total redirects (= not great), but I would
think it would cover everything adequately.
-----Original Message-----
From: Bob Haroche [mailto:bharoche at usa.net]
Sent: Wednesday, April 17, 2002 12:13 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] Trouble with .htaccess Redirects and a Tip
> Have you tried them both together? That is,
> Redirect permanent /olddirectory/ http://myDomain.com/newdirectory/
> Redirect permanent /olddirectory http://myDomain.com/newdirectory/
>
> The first one should catch anyone who has a trailing slash, and the
> second should catch anyone who doesn't.
Yes, I've tried them together. Your suggestion is an intuitive one, but
Apache doesn't work like that. Instead, as I said in my last post, when I do
combine the two rules if someone types in olddirectory/ they're sent to
newdirectory//.
Regards,
Bob Haroche
O n P o i n t S o l u t i o n s
http://www.OnPointSolutions.com
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list