rewrite condition
Posted: Fri Oct 17, 2008 1:41 am
Can't I use server variable in condpattern in htaccess. When I use following rewritecond it doesnot work. But when I give http host as string it works.
RewriteCond %{HTTP_REFERER} ^((.(?!(%{HTTP_HOST})))*)$ [NC]
RewriteCond %{HTTP_REFERER} ^((.(?!(%{HTTP_HOST})))*)$ [NC]