I like to protect a folder within my main webroot (var/www/html/protected) using .htaccess and htpasswd files.
However, just creating these files isn’t enough; apache config must be edited as well.
But there is no web-module to set preferences for your apache (why is that?)
And just edit /etc/httpd/conf/httpd.conf isn’t the way to go, I learned.
So my specific questions are:
- how do I recognise a directly editable config-file from a configfile that should be edited using the e-smith templates?
- what template or configfile can i safely edit to create the protected folder?
PS: searching the forum I saw some related topics, however they were on shared windows-folders on NS6.