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

Apache Web Server Forum

    
Condensing RewriteRules
keyplyr




msg:1524503
 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




msg:1524504
 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