Also langsam bin ich am verzweifen, immer wieder Probleme mit htaccess. Ich möchte gerne in Win unter Apache 1.3 ein verzeichnis schützen.
Dazu habe ich folgende files in diesem Verzeichnis
1) .htaccess
AuthUserFile D:/sambar60-1/docs/XML/.htpasswd
AuthName ByPassword
AuthType Basic
<Limit GET>
require valid user
</Limit>
2) .htpasswd
casimero:$1$mFq2BimX$qyfR48CBJvgDF0H71/VnE1
zusätzlich habe ich einen eintrag in AuthConfig in der http.conf auf das virtuelle Verzeichnis XML, welches in einem Sambarverzeichnis steht.
Auszug
-------------------------------
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
Alias /icons/ "D:/Programme/Apache Group/Apache/icons/"
<Directory "D:/Programme/Apache Group/Apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /home2/ "D:/sambar60-1/docs/"
<Directory "D:/sambar60-1/docs/XML">
Options Indexes MultiViews
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
----------------------------------------
Trotz alledem sagt er immer wieder Passwort falsch, hab schon alles ausprobiert, lkennt einer dass Problem,
vielen Dank iV
Gruss
Casi