PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Dec 12, 2017 9:13 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Mar 22, 2004 5:55 pm 
Offline
Forum Contributor

Joined: Mon Mar 22, 2004 5:55 pm
Posts: 128
Hello

I am using PHP with Apache.
I would like to associate apache to load the index.php page by default whenever someone goes to the home directory of my site.
This is the default behaviour in all sites.
I guess this is not the default behaviour for php with apache.
Can anyone tell me how to configure apache to do it?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 22, 2004 6:05 pm 
Offline
DevNet Resident
User avatar

Joined: Thu Oct 16, 2003 5:49 pm
Posts: 1972
Location: Manchester (UK)
Edit httpd.conf and edit/add a line like,
DirectoryIndex index.php

..then restart apache.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group