This should probably be posted on Apache or PHP group rather than
here :-)
Make sure you are editing the right file (rather than a copy) and
remember to restart Apache after making any alterations. My
httpd.conf includes the following lines and works fine.
# DirectoryIndex: sets the file that Apache will serve if a directory
is requested.
<IfModule dir_module>
DirectoryIndex index.html index.htm index.php
</IfModule>
On Feb 1, 8:35 pm, "David H. Trang" <[EMAIL PROTECTED]> wrote:
> I'm having problems with my index.php. I have not touched it at all
> but everytime I go tohttp://localhostit gives me the directory of
> files instead of just opening index.php for me. Is there something in
> the httpd.conf that I'm forgetting to edit? I have changed so that
> DocumentIndex is index.html index.html.var index.php. Nothing works
> though.
>
> I'm using PHP, PostGres, and Apache HTTP Server.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---