Page 1 of 1

500er-Error bei <Directory> in .htaccess

Posted: 2005-07-05 11:21
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

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

Posted: 2005-07-05 15:05
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.

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

Posted: 2005-07-05 15:56
by stamm
Rofl-Kartoffel! Das war die Lösung!

Und Python läuft auch schon!

DANKE!