Friday, April 2, 2010

htaccess : Stop browser prefetching & information

RewriteEngine On
SetEnvIfNoCase X-Forwarded-For .+ proxy=yes
SetEnvIfNoCase X-moz prefetch no_access=yes

# block pre-fetch requests with X-moz headers
RewriteCond %{ENV:no_access} yes
RewriteRule .* - [F,L]

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home