Welcome to WebmasterWorld Guest from 54.167.86.132

Forum Moderators: Ocean10000 & incrediBILL & keyplyr

Message Too Old, No Replies

AskTb redirect

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

Senior Member

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

joined:Nov 11, 2001
posts:5431
votes: 2


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]
3:14 am on Apr 20, 2012 (gmt 0)

Administrator from US 

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

joined:Jan 25, 2005
posts:14645
votes: 93


Sure would be easier to answer if you showed us the REQUEST_URI ;)
3:32 am on Apr 20, 2012 (gmt 0)

Senior Member

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

joined:Nov 11, 2001
posts:5431
votes: 2


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.
3:40 am on Apr 20, 2012 (gmt 0)

Senior Member

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

joined:Nov 11, 2001
posts:5431
votes: 2


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members