6
Thanks for the resource! I have a question. What is the difference between these two RewriteRules?
RewriteCond %{HTTP_USER_AGENT} ^[a-z0-9\s]+$ [NC]
RewriteRule ^.* - [F,L] (with the ^ start of the line anchor)
RewriteCond %{HTTP_USER_AGENT} ^[a-z0-9\s]+$ [NC]
RewriteRule .* - [F,L] (without the ^)
I see that both of them recommended on the internet. I use RewriteRule ^.* - [F,L]. Is it the Apache version that makes the difference? I suppose I could post over on modrewrite.com but thought you might know it offhand.
Thanks,
C
Quote:
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]