homepage Welcome to WebmasterWorld Guest from 54.204.182.118
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
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

WebmasterWorld Senior Member wilderness us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4443057 posted 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

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4443057 posted 3:14 am on Apr 20, 2012 (gmt 0)

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

wilderness

WebmasterWorld Senior Member wilderness us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4443057 posted 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

WebmasterWorld Senior Member wilderness us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4443057 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved