Welcome to WebmasterWorld Guest from 54.166.220.138

Forum Moderators: Ocean10000 & incrediBILL

Message Too Old, No Replies

AskTb redirect

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

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



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)

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



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

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



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)

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month