Hi,

I have below similar rewrite rule in my conf - 
---------------
RewriteCond %{HTTP_HOST} 
^abc.xyz.com|^abc$
RewriteCond %{REQUEST_URI} !^/abc/.*
RewriteRule 
^(.*)$ http://xyz.com/test/ 
 [E=HTTP_REFERER:%{HTTP_REFERER},L]
---------------

If i hit, abc.xyz.com or abc - it redirects as per rule to 
http://xyz.com/test/Also, If i hit /abc/dummy - it still redirects to 
http://xyz.com/test/ , even though 2nd line of rule starts with !(not).

can someone help me understand the rule?

Tnx,
Mukesh



                                          

Reply via email to