500er-Error bei <Directory> in .htaccess

Apache, Lighttpd, nginx, Cherokee
Post Reply
stamm
Posts: 4
Joined: 2005-04-30 15:32
 

500er-Error bei <Directory> in .htaccess

Post by stamm »

HalliHallo!

Ich hab, wie viele andere, auch ein Problem mit .htaccess!
Ich sitze nun schon seit ca einer woche daran und sehe im Moment keine andere Wahl als hier den tausensten Thread zu eröffnen!

Ich möchte also meinem Apache-2-Server Python beibringen.
Als Admin-Software läuft confixx 3, und das ding macht die Sache mit 100 Config-Dateien unnötig kompliziert.

Der Server liefert also jedesmal einen 500-Error, wenn ich eine .htaccess-Datei mit <Directory>...</Directory> im Verzeichniss liegen hab. error_log spuckt sowas wie "<Directory not allowed here".

in confixx_vhost.conf hab ich stehen:

Code: Select all

<Directory "/home/htdocs">
AllowOverride All
AllowOverride Indexes AuthConfig Limit FileInfo

Options All
Options +FollowSymLinks +Includes
</Directory>
und Weiter unten:

Code: Select all

<Directory "/home/htdocs/web1/html">
AllowOverride All
Options All
Options +FollowSymLinks +Includes

<IfModule mod_access.c>  [...]
</Directory>
Ich bin mit meinen Nerven am Ende, und den anderen Leutz auf dem Server gefällt es sicherlich auch nicht, wenn ich httpd alle 2 Minuten neustarte um Einstellungen durchzuprobieren... :(

bye
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: 500er-Error bei <Directory> in .htaccess

Post by Roger Wilco »

Stamm wrote:Der Server liefert also jedesmal einen 500-Error, wenn ich eine .htaccess-Datei mit <Directory>...</Directory> im Verzeichniss liegen hab. error_log spuckt sowas wie "<Directory not allowed here".
<Directory>-Direktive -> Kontext.
stamm
Posts: 4
Joined: 2005-04-30 15:32
 

Re: 500er-Error bei <Directory> in .htaccess

Post by stamm »

Rofl-Kartoffel! Das war die Lösung!

Und Python läuft auch schon!

DANKE!
Post Reply