[thelist] Quick Mod Rewrite Question

Andy Budd andy at message.uk.com
Fri Jun 25 06:55:25 CDT 2004

On 25 Jun 2004, at 11:57, Tim Beadle wrote:

> You need to add an [OR] flag. [AND] is implicit, so you were asking it
> to meet *both* criteria in your example ;)
> 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]


Cheers Tim

Andy Budd


More information about the thelist mailing list