Liebes Forum
HAllo,
und Gruß zurück
die .htaccess Datei sieht folgendermaßen aus:
Option -Idexes
<Directory /www/meindocumentroot>
Options -Indexes //bewirkt wenn keine mit DirectoryIndex festgelegte datei gefunden wird, eine liste der datein angezeigt wird, bzw bei -Indexes ein 403 Forbidden wenn keine index datei gefunden wird.
AllowOverride All // erlaubt alle commands in einer .htaccess die auch in httpd.conf stehen (very evil)
</Directory>
soweit sogut, was die einzelnen Angaben bedeuten, kann ich ja in SelfHTML nachlesen, aber warum sie nicht funktionieren, weiß ich nicht. ich poste hier mal den entsprechenden Teil meiner httpd.conf (ohne die Kommentare):
<httpd.conf>
DocumentRoot "/usr/local/httpd/htdocs"
<Directory />
AuthUserFile /etc/httpd/passwd
AuthGroupFile /etc/httpd/group
Options -FollowSymLinks +Multiviews
AllowOverride All
</Directory>
<Directory "/usr/local/httpd/htdocs">
Options Indexes -FollowSymLinks +Includes MultiViews
AllowOverride All
Order allow,deny
Allow from all
<IfModule mod_dav.c>
DAV Off
</IfModule>
<Files /usr/local/httpd/htdocs/index.htm*>
Options -FollowSymLinks +Includes +MultiViews
</Files>
<Files test.php3>
Order deny,allow
deny from all
allow from localhost
</Files>
</Directory>
</httpd.conf>
Es sollten doch nun für alle Dateien, die unterhalb von <directory /> liegen, das "allowOveride all" gelten, oder? Gibt es da einschränkungen mit Symlinks o.ä.? Ich bin wirklich überfragt
lg
Ludwig