homepage Welcome to WebmasterWorld Guest from 174.129.80.166
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Search Engines / Search Engine Spider and User Agent Identification
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL

Search Engine Spider and User Agent Identification Forum

    
AskTb redirect
wilderness




msg:4443059
 4:33 pm on Apr 19, 2012 (gmt 0)

Anybody have a clue if this will function

RewriteCond %{HTTP_USER_AGENT} AskTb
RewriteCond %{REQUEST_URI} !^/(40[34]|submit|tos)\.html$
RewriteRule .* http://www.example.com/submit.html [L]

 

incrediBILL




msg:4443245
 3:14 am on Apr 20, 2012 (gmt 0)

Sure would be easier to answer if you showed us the REQUEST_URI ;)

wilderness




msg:4443248
 3:32 am on Apr 20, 2012 (gmt 0)

Bill,
Are you suggesting that I require a REQUEST_URI?

I was hoping for the thing to function as is.

Where the UA contains AskTb
deny all except REQUEST_URI's.

It's not customary, however what I'm looking to do force people whom are denied via "AskTb" to be redirected to a contact page (I did purposely omit that page.

I've had some similar to this (based upon IP) in place for some years.
When a visitor starts exploring my pages in an unusual manner, I add their IP and on next visit, all they see is an informational page about their unusual activity and a request to "contact us" for specific informational requests.

wilderness




msg:4443250
 3:40 am on Apr 20, 2012 (gmt 0)

Duh!

I've had some similar to this (based upon IP) in place for some years.


If its been working on IP's there's NOT any reason why it would fail simply because the IP condition was changed to a UA condition.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Search Engine Spider and User Agent Identification
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved