Issue commented here

   
http://stackoverflow.com/questions/5587148/regex-patterns-in-apache-rewritecond-and-friends-full-or-partial-match

It feels redundant and confusing to me to write (a single example
among many others in the docs) :

             RewriteCond  %{HTTP_USER_AGENT}  ^Mozilla.*

when the .* is really not need - confusing, because it might lead to
believe that Apache is trying a full match, i.e. matching the full
string.

It would be neater and cleaner to write instead

              RewriteCond  %{HTTP_USER_AGENT}  ^Mozilla

Regards

------------------------------------------------------------------------------
H. Gonzalez

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to