homepage Welcome to WebmasterWorld Guest from 54.197.110.151
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Condensing RewriteRules
keyplyr

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



 
Msg#: 474 posted 12:03 am on Oct 22, 2003 (gmt 0)

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

 

keyplyr

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



 
Msg#: 474 posted 3:10 am on Oct 22, 2003 (gmt 0)


Got it. Using this to block them all:

RewriteCond %{HTTP_USER_AGENT} Downloader [NC,OR]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
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