Reinhard Schmid: Htaccess findet Htpasswd nicht

Beitrag lesen

Hallo,

ich habe jetzt die .htaccess so geändert:

AuthType Basic
AuthName admin
AuthUserFile "c:\programme\apache group\apache\htdocs.htpasswd"
<Limit GET POST>
require valid-user
order deny,allow
allow from all
</Limit>

aber es geht trotzdem nicht.

In der httpd.conf steht dieser Eintrag:

Control access to UserDir directories.  The following is an example

for a site where these directories are restricted to read-only.

<Directory "C:/Programme/Apache Group/Apache/htdocs">
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS PROPFIND>
        Order allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS PROPFIND>
        Order deny,allow
        Deny from all
    </LimitExcept>
</Directory>

DirectoryIndex: Name of the file or files to use as a pre-written HTML

directory index.  Separate multiple entries with spaces.

<IfModule mod_dir.c>
    DirectoryIndex index.html
</IfModule>

AccessFileName: The name of the file to look for in each directory

for access control information.

AccessFileName .htaccess

Ist das alles richtig?? oder könnte das Problem auch hier liegen??

Schöne Grüße
Reinhard