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
blocking user agent in htacces (syntax prob)
Old 07-01-2007, 02:29 PM blocking user agent in htacces (syntax prob)
Banned

Posts: 253
Name: Michel Samuel
Trades: 0
I'm trying new approach in my htaccess file.

I attempted this but I get apache server errors. I know I'm getting the syntax wrong.

%{HTTP_USER_AGENT} ^ia_archiver-web\.archive\.org [NC,OR]

Can anyone help out here..
Michel Samuel is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-01-2007, 03:44 PM Re: blocking user agent in htacces (syntax prob)
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
RewriteCond %{REMOTE_ADDR} ^64.62.XXX.YYY [OR]
RewriteCond %{REMOTE_ADDR} ^62.62.XXX.ZZZ
RewriteCond %{HTTP_user_AGENT} "some\ user\ agent"
RewriteRule .* - [F,L]



"This reads as: IF you come from EITHER of the ip addresses, AND you're using "some user agent" THEN you can't enter. "

Also:
http://www.besthostratings.com/artic...-bad-bots.html
http://diveintomark.org/archives/200..._to_go_to_hell

__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Old 07-01-2007, 05:06 PM Re: blocking user agent in htacces (syntax prob)
Banned

Posts: 253
Name: Michel Samuel
Trades: 0
Let me ask you this...
The agent is exactly this.... "* ia_archiver-web.archive.org *"
Do I need the " \ " before the " . " in the statement ?

Also for the agent using the IP address format...
Can I just block 208.70 and leave the rest off to limit that entire range ?
Michel Samuel is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to blocking user agent in htacces (syntax prob)
 

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.32258 seconds with 12 queries