Hi
ich habe im Dokumentroot eine .htaccess mit folgenden Inhalt
AddHandler php5wrap .php
ErrorDocument 401 /401.htm
DirectoryIndex index.php index.html index.htm index.cgi
AuthName "Kundenbereich"
AuthType Basic
AuthUserFile /home/xxx/xxx/.htusers
require valid-user
Wenn man sich nicht authorisiert, erhält man folgende Meldung
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.
wenn ich die Zeile "ErrorDocument 401 /401.htm" rauslösche, kommt nur noch folgende Meldung
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
was kann/muss ich machen, damit ich eine eigene Fehlerseite verwenden kann?
Klaus