On Tue, Sep 22, 2009 at 11:21 AM, Ndungi Kyalo <ndungi@gmail.com> wrote:
Ati,

the search on vim is case sensitive so "directoryindex" may not return any results but "DirectoryIndex" most probably will.


cd /usr/local/apache2/conf

grep DirectoryIndex *

That should list all files that contain that string.

There is no harm in editing all those files and appending index.php to every line that contains string "DirectoryIndex" then doing

apachectl graceful


That should really do the trick. If it doesn't, and the content is within a VirtualHost context, then let's see the output of this command:

`httpd -S`



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
              -- Lucky Dube