Lloyd Keen wrote:
>
> Alex,
> Although it's not recommended, the e-smith way to do it is:
> #cp
> /etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess10primary /etc/e-smith/templates-custom/etc/httpd/conf/httd.conf/90e-smithAccess10primary
> Then modify this file to include the "AllowOveride
> AuthConfig" statement and then expand the template file with
> #/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
> Then restart apache
Another e-smith way of doing it, and one which is recommeneded, by me at least, is to create a custom template fragement for httpd.conf, and add a block, which adds the password restriction that you want to add without using a .htaccess file.
Regards
Charlie