Apache ignoriert DirectoryIndex???

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache ignoriert DirectoryIndex???

Postby chrisdog » 05. February 2006 20:35

Hallo,
habe hier auf Debian sarge den Apache SSL installiert, jetzt hab ich da ne PHP-Datei index.php in nem Verzeichniss, die ich über http://xyz/index.php anschauen kann, die aber über http://xyz nich angezeigt wird :-/ Firefox bietet mir stattdessen die datei umkompiliert als "PHTML file" zum download an.
PHP funktioniert also, als nächstes hatte ich, um den Fehler rauszufinden mit dem DirectoryIndex rumgespielt, mal ne andere Datei an den Anfang geschrieben... es hat nichts genutzt, apache bietet mir weiterhin eine phtml file zum download an... die mod_dir.so ist in der modules.conf aktiviert, hier noch die beiden Abschnitte aus der httpd-conf, hoffe mir kann jemand helfen.

<IfModule mod_dir.c>
DirectoryIndex test.htm index.php index.phtml index.html index.htm index.shtml index.cgi
</IfModule>
AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps
chrisdog
 
Posts: 1
Joined: 11. November 2005 12:43

Return to Apache

Who is online

Users browsing this forum: No registered users and 15 guests