Apache: Password protection via .htaccess doesn't work anymore after an update

Support knowledgebase (daniel_mod_auth_nds)
Applies to

SuSE Linux: Version 7.2
This article refers to an older version of SuSE Linux. Therefore some of the informations given in this article may be outdated or the article may contain stale links.

Apache

Symptom

The password protection via .htaccess doesn't work anymore after an update to SuSE Linux 7.2. An eventually in /etc/httpd/httpd.conf defined password protection doesn't work anymore also.

Cause

The apache module mod_auth_nds.

Solution

Exchange the value yes to no in the line
HTTPD_SEC_MOD_AUTH_NDS=yes
of the file /etc/rc.config.d/apache.rc.config.
Execute as user 'root'
SuSEconfig --module apache
in a text terminal to active the changes.
Afterwards the apache has to be restarted (rcapache restart).

Hint: General considerations about 'Webserver Directories with Password Protection' can be found at http://portal.suse.de/en/content.php?SEARCH&content/security/htpasswd.html.


Keywords: APACHE, HTACCESS, NDS, PASSWORD

Categories: Network

SDB-daniel_mod_auth_nds, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 05. Okt 2001
SuSE Linux AG - Last generated: 05. Okt 2001 by swiegra (sdb_gen 1.40.0)