rewrite condition

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
devendra-m
Forum Contributor
Posts: 111
Joined: Wed Sep 12, 2007 3:16 am

rewrite condition

Post by devendra-m »

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]
Post Reply