A nice feature in ISPconfig 3 but it if used it wipes out an already existing .htaccess file in order to add the auth code inside. It should jsut add the code to "the end" of the file. Now concerning the .htpasswd that it is creating in the same directory, would it be possible to create it out of the public /web/ directory ? cheers, thanks in advance
The .htpassd file is always in the same directory then the .htaccess file, downloading the .htpasswd is blocked in apache by default, so nobody can access it from the web.
The folder protection feature is a function to protect new empty subfolders, so the current behaviour that overrides .htaccess files is intended. Editing existing .htaccess files can cause the protection to fail as the script would have to parse the whole content of the file as there might be other protections inside or directives which could override the protection. We might add a .htaccess file parse in future versions though.
right.. thanks for that information. Well I didn't think it would have to be so complicated, seeing how cPanel does it, I thought it was more easy.
There is already a feature requst for that: http://bugtracker.ispconfig.org/index.php?do=details&task_id=1933&project=3
nice, well it will just help a lot especially those that use ispconfig 3 for customers waiting for this feature! cheers and thanks a lot