CubAfull
2nd August 2008, 23:44
After creating a protected directory in ISPConfig 2.2.24 Web-FTP to enter my joomla administration I get an 500 Error after login to the .htaccess window.
in my /var/www/web1/log/error.log i found...
[Sat Aug 02 15:50:57 2008] [error] [client xxx.xxx.xxx.xxx] (2)No such file or directory: Could not open password file: /var/www/web1/administrator/.htpasswd
[Sat Aug 02 15:51:08 2008] [error] [client xxx.xxx.xxx.xxx] (2)No such file or directory: Could not open password file: /var/www/web1/administrator/.htpasswd
[Sat Aug 02 15:51:18 2008] [error] [client xxx.xxx.xxx.xxx] (2)No such file or directory: Could not open password file: /var/www/web1/administrator/.htpasswd
The problem is that the script does not include the web directory in .htaccess
After replacing manually in .htaccess
AuthUserFile /var/www/web1/administrator/.htpasswd
to
AuthUserFile /var/www/web1/web/administrator/.htpasswd
everything worked perfectly :)
in my /var/www/web1/log/error.log i found...
[Sat Aug 02 15:50:57 2008] [error] [client xxx.xxx.xxx.xxx] (2)No such file or directory: Could not open password file: /var/www/web1/administrator/.htpasswd
[Sat Aug 02 15:51:08 2008] [error] [client xxx.xxx.xxx.xxx] (2)No such file or directory: Could not open password file: /var/www/web1/administrator/.htpasswd
[Sat Aug 02 15:51:18 2008] [error] [client xxx.xxx.xxx.xxx] (2)No such file or directory: Could not open password file: /var/www/web1/administrator/.htpasswd
The problem is that the script does not include the web directory in .htaccess
After replacing manually in .htaccess
AuthUserFile /var/www/web1/administrator/.htpasswd
to
AuthUserFile /var/www/web1/web/administrator/.htpasswd
everything worked perfectly :)