Mailinglist Archive: opensuse (3605 mails)

< Previous Next >
Re: [SLE] "/index.php" works, "/" doesn't
  • From: "Adam Williams" <adamtaunowilliams@xxxxxxxxx>
  • Date: Sun, 18 Jun 2006 10:44:31 -0400
  • Message-id: <4ed4d43b0606180744n4924973cwd63b38adbe4367f8@xxxxxxxxxxxxxx>
> Anyone seen anything like this before, and maybe have some pointers
> where to look
Your PHP script is - somehow - being served with the wrong MIME-type.
Also implies it isn't being put through the PHP-interpreter.


Make sense, but why is the proper MIME type detected when the file is
requested explicitly, but not when the file is selected by DirectoryIndex?

/etc/apache2/mime.types contains -
application/x-httpd-php phtml pht php php3 php4 php5

In /etc/apache2/httpd.conf -
DirectoryIndex index.php index.html index.html.var
< Previous Next >
Follow Ups