Apache supports .htaccess and .htpasswd by default.urboyfriend wrote:how do we allow apache to support .htaccess files?
i just want to know where to modify the option...
Sharley wrote:http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
In the htdocs.conf file the 3 Allowoverride entries are correct and disallow .htaccess (none) by default in folders other than the htdocs folder - do not modify them.
If you want to allow .htaccess in other folders outside the htdocs folder (DocumentRoot) then you need to use a VirtualHost in the htdocs-vhosts.conf file in the extra folder of apache conf folder.
Otherwise you will seriously effect security if you allow .htaccess files in any folder outside the htdocs folder as entries in this file override security entries in the htdocs configuration files.
I ask again what is your problem with .htaccess file?
BTW please follow instructions here when ever you post for help:
http://community.apachefriends.org/f/viewtopic.php?f=16&t=48331
Thanks.
Users browsing this forum: No registered users and 99 guests