Go Back  HTML Forums - Free Webmaster Forums and Help Forums > SERVER ADMINISTRATION > Windows Administration
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 05-06-2006, 01:38 AM
  #1
nisim7
Soldier (Level 11)
 
Join Date: May 2004
Posts: 138
iTrader: (0)
nisim7 is on a distinguished road
Apache 2.2 not reading index.php as default

Apahce 2.2 is not loading any index.php files as default. Now, before you tell me to simply set my directorylisting accordingly, or an .htaccess file, I have done both. It reads .html indexs but if a .php is the index then it gives me a directory listing and it is annoying the heck out of me. Again, I have my httpd.conf set up correctly so I am completely at a loss as to what to do. You all may be as well but any help would be greatly appreciated.

That being said, if I type the full URL (e.g. http://localhost/test/index.php) then it works but I must include the index.php into the URL.

Nisim
__________________
SELECT ALL FROM users WHERE clue > 0;
nisim7 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 05-10-2006, 08:02 PM
  #2
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,730
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
so in the httpd.conf file did you mean this

DirectoryIndex

make sure index.php is listed first, not last.
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 05-11-2006, 10:24 AM
  #3
nisim7
Soldier (Level 11)
 
Join Date: May 2004
Posts: 138
iTrader: (0)
nisim7 is on a distinguished road
re:

Yep, that is what I meant and index.php is leading. I have never seen this before. I found one other person on the internet, through a google search, who has had this problem but no one responded to his thread so still no solution.
__________________
SELECT ALL FROM users WHERE clue > 0;
nisim7 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 05-11-2006, 10:28 AM
  #4
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,730
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
Then I would back rev to apache 2.0. Seems to be a bug.
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 05-11-2006, 11:33 AM
  #5
nisim7
Soldier (Level 11)
 
Join Date: May 2004
Posts: 138
iTrader: (0)
nisim7 is on a distinguished road
Thanks, I figured that is what I would have to do but I wanted to know if there was a known solution.
__________________
SELECT ALL FROM users WHERE clue > 0;
nisim7 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 03-13-2009, 03:21 PM
  #6
dossjb
Novice (Level 1)
 
Join Date: Mar 2009
Posts: 1
iTrader: (0)
dossjb is an unknown quantity at this point
Remember to restart Apache.

After you edit httpd.conf you always have to remember to restart apache web server.
dossjb is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 03-13-2009, 03:48 PM
  #7
althalus
a Chimera of sorts
 
althalus's Avatar
 
Join Date: Jan 2004
Location: Inferno - 7th Circle, Inner Ring
Posts: 3,450
iTrader: (1)
althalus is just really nicealthalus is just really nicealthalus is just really nicealthalus is just really nice
If only they had known, five years ago. :|


I know this has been up before, but could we discuss a function to lock threads after X days/weeks/months and add a 'requesting unlocking - I have vital information'-button attached to it? :-]
__________________

░░░░░[[[ iblog ] [ iplay: assassin's creed ii | world of warcraft ] [ iread: the hunt for red october ]]]
░░░░░░░the perpetual journey to next autumn~
althalus is online now   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 10:30 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.