firefox wants to download index.php as phtml file
Hi
I just setup apache1.3 with php4 and it seems php is working: the test
file with <?php phpinfo() ?> loads ... i have a index.php file which
also loads fine with the URI "http://localhost/index.php" ... but when
i try to load it as "http://localhost/" firefox tries to download the
file as being a PHTML file. Konqueror seems to not have this problem
and is just loading my homepage fine with the URI "http://localhost/"
Does somebody know how to change this firefox behaviour? I have
already setup the DirectoryIndex directive as
<IfModule mod_dir.c>
DirectoryIndex index.php index.phtml index.html index.php
index.htm index.shtml index.cgi
</IfModule>
mod_dir is loaded by the /etc/apache/modules.conf file:
...
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
...
in /etc/apache/conf.d/php4.conf i have:
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>
and as i said the page loads fine when accessing in firefox as
"http://localhost/index.php" but not with "http://localhost/" ...
Thanks
Reply to: