ich kann nicht verstehen, warum mich der indianer (2) nicht ein <directory> i einer .htaccess-datei machen lässt:
folgende konfiguration:
- Code: Select all
DocumentRoot "D:/www"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "D:/www">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot D:/www/
</VirtualHost>
<VirtualHost *:80>
ServerName fe
DocumentRoot D:/www/asdf
</VirtualHost>
.htaccess unter D:/www/asdf sieht so aus:
- Code: Select all
DirectoryIndex index.php
Order Deny,Allow
Options -Indexes
<Directory /class/>
Deny from All
</Directory>
wenn ich nur einen request über den zweiten virtualhost schicke, bekommen ich einen 500 error und folgende fehlermeldung:
[Wed Sep 14 20:27:55 2005] [alert] [client 127.0.0.1] D:/www/asdf/.htaccess: <Directory not allowed here
was kann das sein?
mfg, martin