index.php DirectoryIndex not executed a php
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php4 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libapache-mod-php4
Not sure what I did wrong, but I can't get apache1/php4 to load index.php as a DirectoryIndex. Everytime I go to the directory, it knows to load index.php, but it just wants to download it. PHP files work fine if accessed directly.
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
If I enter the following in the browser, it works fine.
http://
but if I do the following, it wants to download some stream application/
Obviously, I missed something small. Thanks for any tips. I have had not problems with this kind of stuff for years, but I am new to Ubuntu and I might have missed something.
I am running Apache 1 and PHP4 in Dapper.
libapache-
php4_4.
apache_
Ubuntu 6.06 amd64-server
DirectorIndex works, mod-php works, but DirectoryIndex with mod-php doesn't.
Please close. Caching problem.