Welcome to WebmasterWorld Guest from 23.22.140.143

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Condensing RewriteRules

     
12:03 am on Oct 22, 2003 (gmt 0)

Senior Member from US 

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

joined:Sept 26, 2001
posts:5808
votes: 64


How would I combine:

RewriteCond %{HTTP_USER_AGENT} ^Star\ Downloader [NC,OR]
and

RewriteCond %{HTTP_USER_AGENT} ^Downloader [NC,OR]

Like this?

RewriteCond %{HTTP_USER_AGENT} ^(Star)? Downloader [NC,OR]

Thanks
3:10 am on Oct 22, 2003 (gmt 0)

Senior Member from US 

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

joined:Sept 26, 2001
posts:5808
votes: 64



Got it. Using this to block them all:

RewriteCond %{HTTP_USER_AGENT} Downloader [NC,OR]