I am trying to construct the following mod_write rule:

If domain matches "www.gremlins.com" and URI does not begin with 
"/banana/boat," then redirect to http://cheese.com.


RewriteCond %{HTTP_HOST} ^www.gremlins.com$
RewriteCond %{REQUEST_URI} !^/banana/boat(.*)$
RewriteRule ^(.*)$ http://cheese.com/$1 [QSA,L]


The ! isn't working though. Any ideas?

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to