Computer Talk Discussions here pertain to mods, troubleshooting, and PC/console gaming

any Apache gurus

Thread Tools
 
Search this Thread
 
Old Aug 11, 2004 | 06:02 AM
  #1  
jacksonpt's Avatar
Thread Starter
Senior Member
 
Joined: May 2002
Posts: 2,752
Likes: 0
From: Binghamton, NY
any Apache gurus

I'm running Apache on my webserver. By default, when you specify a directory in the URL, it looks for index.htm or index.html to display. If those files are not found the directory listing is displayed.

Is there a setting I can change so Apache will also look for index.php by default?
Reply
Old Aug 11, 2004 | 06:46 AM
  #2  
amusement's Avatar
Registered User
 
Joined: Nov 2003
Posts: 1,537
Likes: 0
From: Portland, Oregon
OK, here's two answers that will get you what you want ... first the apache answer click me

and here's the PHP answer located in step six click me
Reply
Old Aug 11, 2004 | 07:37 AM
  #3  
jacksonpt's Avatar
Thread Starter
Senior Member
 
Joined: May 2002
Posts: 2,752
Likes: 0
From: Binghamton, NY
Originally Posted by amusement
OK, here's two answers that will get you what you want ... first the apache answer click me

and here's the PHP answer located in step six click me
Cool, thank you - the php answer was what I was looking for. I figured there had to be a way to edit the conf file, but I didn't know where to look.
Reply
Old Aug 11, 2004 | 01:18 PM
  #4  
ldivinag's Avatar
Registered User
 
Joined: Dec 2003
Posts: 1,526
Likes: 0
From: N37 39* W122 3*
for another set of apache tips:

http://www.javascriptkit.com/howto/htaccess.shtml

for a second there, i thought you meant these:

Reply
Old Aug 11, 2004 | 01:22 PM
  #5  
PoBoy's Avatar
Contributing Member
 
Joined: Dec 2002
Posts: 1,998
Likes: 0
From: Phoenix, AZ
Originally Posted by ldivinag
for a second there, i thought you meant these:

-10 geek points for thinking that!
Reply
Old Aug 11, 2004 | 01:26 PM
  #6  
ldivinag's Avatar
Registered User
 
Joined: Dec 2003
Posts: 1,526
Likes: 0
From: N37 39* W122 3*
that's from the VIDEO game apache longbow...

probably my fav flight sim...
Reply
Old Aug 11, 2004 | 01:27 PM
  #7  
PoBoy's Avatar
Contributing Member
 
Joined: Dec 2002
Posts: 1,998
Likes: 0
From: Phoenix, AZ
haha...okay +3 then - 5 for me
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
MadMax48
86-95 Trucks & 4Runners
16
Mar 3, 2020 10:33 AM
EatChipsNow
86-95 Trucks & 4Runners
8
Sep 9, 2015 01:25 AM
midiwall
Computer Talk
13
May 17, 2006 05:04 PM




All times are GMT -8. The time now is 10:33 PM.