Seite 1 von 1

Fehlermeldung nach htaccess Installation

Verfasst: 03.10.2004 10:50
von sowieso
Hi,

ich möchte mir bei meinem Forum einen Verzeichnisschutz anlegen. Ich hab eine .htaccess Datei erstellt und hochgeladen und zwar in den Ordner in dem das Board liegt. Dann noch eine .htpasswd datei ins admin Verzeichniss. Wenn ich jetzt das Board aufrufen möchte (www.steviaforum.de/board/index.php) bringt er mir folgende Meldung:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log


Was kann ich machen bzw was ist hab ich falsch gemacht?

Meine htaccess datei sieht so aus:

AuthType Basic
AuthName "Restricted Directory"
AuthUserFile  board/admin/.htpasswd
require valid-user

Verfasst: 03.10.2004 12:16
von Dennis63
Der Pfad zum Auth-User-File muss der komplette Ffad auf dem Server sein. Den Pfad sieht man mit PHP z.B. so: dirname(__FILE__); .

Grüße
Dennis