Quote:
Originally Posted by snakes1100
Sorry, but your opinion is based on what facts/load testing?
|
My opinion was that it's bad programming practice to make a blank .htaccess file to override a superdirectory .htaccess file. Most programmers will tell you that, because you're keeping two sets of books to do something that is largely unnecessary.
You were probably referring to the idea that .htaccess can make a website run less efficiently. That's not an opinion, because I don't believe that magic pixies live in computers to execute instructions without cost. Like it or not, apache checks the .htaccess for every request. If the file exists, it has to do string matching - then it has to do string replacement if it finds a match - then it processes things "normally". If you think this can happen in a server without any cost, no toll on the memory or processor, then you must believe that fairies exist and live in mushrooms. lol
In terms of differences between load, it's negligible. You will not see a difference. But you said it was
more efficient to use .htaccess, and that's simply not true. I've done all I can for you, I don't know how to put it any more simply. If you execute more instructions on the server's processor for every page request, it
is less efficient.