30 reputation
5
bio website
location
age
visits member for 3 years, 9 months
seen Dec 28 '10 at 4:16

Dec
28
awarded  Suffrage
Dec
28
comment Please Help Me Optimize This
That's why it's important to order rewrite rules based on the most usage, right?
Dec
28
comment Please Help Me Optimize This
I see, so once a match is made it ignores all rewrite rules below it and skips ahead to RewriteRule ^.* - [F,L]?
Dec
28
revised Difference between SetEnvIf and RewriteCond?
edited tags
Dec
28
asked Please Help Me Optimize This
Dec
28
awarded  Supporter
Dec
28
accepted Regular expression not working in .htaccess
Dec
28
accepted .htaccess regular expressions for optimal performance?
Dec
28
accepted Difference between SetEnvIf and RewriteCond?
Nov
15
asked Regular expression not working in .htaccess
Nov
15
asked Difference between SetEnvIf and RewriteCond?
Nov
13
comment .htaccess regular expressions for optimal performance?
I guess I'll go with method #3 then. I'm just wondering if using a rewrite rule to "block" the thousands of bot requests that I'm receiving would increase the server's cpu usage versus the bandwidth that would be saved by using my .htaccess file. In other words, ignore the bots and let them waste bandwidth or block the bots and use cpu power to block them. Am I correct to think this?
Nov
13
comment .htaccess regular expressions for optimal performance?
Okay, so according to the Apache docs I can only have AllowOverride None in <Directory>. I want my main .htaccess file in public_html to still apply to all directories (my entire site), but I don't want the server to search for any .htaccess files in those sub-directories. So what would I put in <Directory>?
Nov
13
awarded  Commentator
Nov
13
comment .htaccess regular expressions for optimal performance?
I'm on a shared server so I don't have access to the Apache config. Would AllowOverride None still benefit me? From what I understand it just disables .htaccess files in all sub-directories, but keeps the main .htaccess file active, right?
Nov
13
comment .htaccess regular expressions for optimal performance?
Thanks, that was very helpful. So you're saying that method #3 would be best? Without the .* OR ^.*
Nov
13
accepted .htaccess security
Nov
13
awarded  Scholar
Nov
13
accepted Help! Why do blocked bots still waste bandwidth?
Nov
13
accepted Script and file execution security with .htaccess