setting default page 'index.php' apache problem

General discussions related to php

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 4
Joined: Sat Jul 05, 2003 4:09 pm

setting default page 'index.php' apache problem

Postby triad40001 » Sat Jul 05, 2003 5:06 pm

Trying to set the default page to load in directories for apache.

edited the httpd.conf adding the file name 'index.php' like so:

<IfModule mod_dir.c>
DirectoryIndex index.html default.htm default.html index.php

restart apache but still the file index.php won't load on default.

Any ideas?

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Sat Jul 05, 2003 9:52 pm

.htaccess file

DirectoryIndex index.php

Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 2 guests