On Fri, Oct 11, 2013 at 5:33 PM, Tom Evans <tevans.uk@xxxxxxxxxxxxxx> wrote: > RewriteCond %{HTTP_REFERER} ^applications.example.com$ > RewriteRule .* - [E=valid_referer:1] > > SetEnvIf Referer applications\.example\.com valid_referer=1 Doh! I thought I had removed the mod_rewrite way of setting the environment variable - you only need one of these two options, "SetEnvIf" is superior. Cheers Tom --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx