Forum Moderators: phranque

Message Too Old, No Replies

Special Characters in RewriteCond

RegEx Question

         

keyplyr

6:25 am on Apr 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There are 2 UAs I wish to block: stream://1/ and StreamRipper32

Combining them, I get this:

RewriteCond %{HTTP_USER_AGENT} Stream(://1/ŚRipper32) [NC,OR]

But I'm concerned that there may be a conflict with proper RegEx?

keyplyr

6:55 pm on Apr 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



anyone?

jdMorgan

3:35 am on Apr 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



keyplyr,

Your combination and the syntax look OK to me, was there a problem with it?

Jim

keyplyr

4:22 am on Apr 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



No problem Jim, but it was prime time and just in case I had screwed it up, I didn't want to lock out everyone :)

My other choice is to just use Stream, but I do serve audio and video files and there's probably a legit application out there I would be blocking.

Thanks