Quote:
Originally Posted by hua
How can help .htacces here to us? Is it a different way of solving this access limitations (permissions) issue on web files and directories?
What can be a drawback of specifying access rights with this instead of the other way?
|
You can restrict which settings you can change in
.htaccess files via the
AllowOverride directive. Even then, there are certain options that you cannot set in
.htaccess files at all, for example
SuexecUserGroup.
There is a very small performance "penalty" in using
.htaccess files, compared to Apache configuration files proper, since Apache parses the .htaccess file every time. The "penalty" is usually insignificant, especially if you're using scripting languages.
On the plus side, modifications to the .htaccess files are immediately effective, whereas changes to the Apache configuration proper requires the admin to specifically tell Apache to reload the configuration.
I personally use both, depending on the situation.