Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- block blank referrer on specific page and by ip


soapystar - 4:23 pm on Feb 7, 2008 (gmt 0)


im struggling a bit with this. I thought the url would be a condition?

For example if the url was the index page i was thinking something like

RewriteCond %{THE_REQUEST} !^http://www.domain.com/ [OR]
RewriteCond %{HTTP_USER_AGENT} ^-?$ [OR]
RewriteCond %{REMOTE_ADDR} ^x.x.x.x/x
RewriteRule .* - [F]

but i really struggle with this stuff.. :-(


Thread source:: http://www.webmasterworld.com/apache/3568598.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com