Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

setting default page 'index.php' apache problem

General discussions related to php

Moderators: macek, egami, gesf

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
</IfModule>

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

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

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

.htaccess file

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


Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron