httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] HTTP_REFERER and Access Control
Date Fri, 11 Oct 2013 16:34:37 GMT
On Fri, Oct 11, 2013 at 5:33 PM, Tom Evans <tevans.uk@googlemail.com> 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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message