Show Navigation
Conversation
Notices
-
are htaccess files completely considered harmful, or just for security stuff? #apacheHTTPD
-
@musicman Well, they probably slow things a tiny bit. But they enable each site's admin on a shared server to have control over the site's rewriting rules.
-
performance isn't the concern. I know some stuff is not supposed to be in htaccess for security reasons.
-
This is what the project says on the matter:
"In general, you should only use .htaccess files when you don't have access to the main server configuration file."
-
@musicman Yes, that's why and when they are usually used. Also so that projects (WordPress, Drupal, etc) can ship the file instead of requiring people to edit httpd.conf.