Forum Moderators: phranque
My question is, what's the best way to identify all of the patterns that I should exclude: a single RewriteRule or a set of RewiteCond's? For example, I have
RewriteRule .*\.asp$ - [NC,F,L]
working. Is there a way to do a regex like
RewriteRule .*\.[asp¦cgi¦pl¦dll]$ - [NC,F,L]
to mean anything ending with ".asp" or ".cgi", etc. The example here doesn't work, because I think my regex is wrong. I could do a set of RewriteConds for each case, but I suspect there's a more clever way.
Can anyone point me to the right place or give me an example?
Thanks in advance!
like _vti-bin, MSOffice, etc.
Many websmasters have believed all along that these two UA's were a virus or worm.
In fact what they are is a visitor using either MS Word or MS Front Page for their browser.
Why anyone would chose to do such a thing is beyond the comprehension of most sane people.
I've posted this previously either in this forum or forum #11. The message just hasn't been repeated over and again.
Don