Server Error mit .htaccess

Apache, Lighttpd, nginx, Cherokee
Post Reply
distl
Posts: 82
Joined: 2003-01-06 10:23
 

Server Error mit .htaccess

Post by distl »

Hallo,

ich habe ine Problem, das ich nicht verstehe.
Sobald ich einen ORdner mit .htaccess und .htpasswd schützen möchte und dieses Verzeichnis dann im Browser aufrufe, bekomme ich einen 500 Internal Server Error.

httpd.conf müsste stimmen:

<Directory /home/www/html>
Options FollowSymLinks Includes
AllowOverride AuthConfig
Order deny,allow
Allow from all
</Directory>

Weiss jemand Rat?

Danke
darkspirit
Posts: 553
Joined: 2002-10-05 16:39
Location: D'dorf
Contact:
 

Re: Server Error mit .htaccess

Post by darkspirit »

Was sagt das error_log?
distl
Posts: 82
Joined: 2003-01-06 10:23
 

Re: Server Error mit .htaccess

Post by distl »

Die error_log sagt folgendes:

order not allowed here

Komisch.
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
Contact:
 

Re: Server Error mit .htaccess

Post by dodolin »

http://httpd.apache.org/docs/mod/mod_access.html#order
Ist also in Directory und .htaccess Kontext erlaubt.
Genaue, echte URL? Vollständiger error.log? Vollständige .htaccess?
Ich weiß aber nicht, ob das Sinn macht, alle zu erlauben, wenn du es später doch wieder auf einzelne Benutzer einschränken willst. Keine Ahnung, wie sich Apache da verhält, ob er das "gewünschte" tut.
Post Reply