Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Other Search Engines


You are currently viewing our The Other Search Engines as a guest. Please register to participate.
Login



Reply
Can someone proof my .htaccess file.
Old 12-23-2006, 02:25 PM Can someone proof my .htaccess file.
Banned

Posts: 253
Name: Michel Samuel
Trades: 0
Ok...
It doesn't work...
What I am trying to do is

1) block a specific IP address and a range of them and give them a 404 error

2) Block referers from 2 sites and give them a 404 error

3) somehow stop alexa toolbar users.
--------------------------------

order allow,deny
deny from 66.11.54.71
deny from 66.11.54.
allow from all
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER}
!^http://(.*\.)?mysite.com [NC]
RewriteRule
\.(gif|jpg|jpeg|png|mpg|mpeg|wmv|avi|mov|asf|swf)$ -
[NC,F]
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} alexa\.com [NC,OR]
RewriteCond %{HTTP_REFERER} example\.co\.uk [NC]
RewriteRule .* - [G]

{{{
SetEnvIfNoCase User-Agent "^Alexa Toolbar" bad_bots
Deny from env=bad_bots
}}}
Michel Samuel is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Can someone proof my .htaccess file.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08271 seconds with 12 queries