[thelist] Quick Mod Rewrite Question

Manuel González Noriega manuel at simplelogica.net
Fri Jun 25 07:30:34 CDT 2004

El vie, 25-06-2004 a las 12:57, Tim Beadle escribió:
> On Fri, 2004-06-25 at 11:47, Andy Budd wrote:

> i.e:
> rewriteEngine On
> rewriteCond %{HTTP_HOST} ^mysite.co.uk$ [NC] [OR]
> rewriteCond %{HTTP_HOST} ^www.mysite.co.uk$ [NC]
> rewriteRule ^.*$ http://www.newsite.co.uk/ [R,L]

Also, The [R]edirect defaults to 'temporary' so be sure that's what you
want and not a R=301

I first browsed the mod_rewrite docs yesterday, so i could be wrong 

   Manuel trabaja para Simplelógica, construcción web
(+34) 985 22 12 65            http://simplelogica.net
escribe en Logicola http://simplelogica.net/logicola/    

More information about the thelist mailing list