> I want to redirect visitors from http://www.foo.com/folder/index.html to
> http://folder.foo.com/index.html
>
> What is the best way to accomplish this?

RedirectMatch permanent /([^/]*)/index.html   http://$1.foo.com/index.html

Mark.

-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Key: http://keyserver.veridis.com:11371/search?q=0x455420ED

Attachment: pgpEf6EynkrID.pgp
Description: PGP signature

Reply via email to