Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
index.php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Highlands
Guru
Guru


Joined: 22 Apr 2003
Posts: 366
Location: Sundsvall, Sweden

PostPosted: Mon Jun 09, 2003 5:33 pm    Post subject: index.php Reply with quote

How do I change so that apache uses index.php as the default file?
_________________
If Windows is the answer, you don't understand the question!
http://counter.li.org/cgi-bin/certificate.cgi/339446
Back to top
View user's profile Send private message
Shaoken
n00b
n00b


Joined: 05 Jun 2003
Posts: 65

PostPosted: Mon Jun 09, 2003 5:35 pm    Post subject: Reply with quote

Code:
 nano /etc/apache2/conf/commonapache2.conf
(or you httpd.conf if you have apache 1.3.27)

find the line :

Code:
<IfModule mod_dir.c>
    DirectoryIndex index.html index.html.var index.php index.php3 index.shtml i$
</IfModule>


and place index.php in first (of tape it)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum