Klaus: Statuscode 401²

Beitrag lesen

Hi

satisfy any
allow from all

beide Wege, Passwort oder IP, alternativ zulässt (satisfy any) und jede IP zulässt (allow from all). Legst Du die beiden Zeilen in Deinen <FilesMatch>-Block, sollte es wie gewünscht funktionieren.

in der .htaccess steht jetzt folgendes

ErrorDocument 401 /401.htm
ErrorDocument 404 /404.htm
<FilesMatch "^/(401|404).htm$">
  satisfy any
  allow from all
</FilesMatch>

es wird trotzdem folgende Meldung ausgegeben

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.

danke
Klaus