httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Watts <m.wa...@eris.qinetiq.com>
Subject Re: [users@httpd] 301 Redirect
Date Tue, 10 Jul 2007 08:30:33 GMT

> 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

Mime
View raw message