Apache Problems - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 09-19-2003, 12:50 PM   #1 (permalink)
True Techie
 
Join Date: Jul 2003
Posts: 134
Send a message via AIM to tavilach
Default Apache Problems

Why won't Apache load up index.php by default? (See attachment)
Attached Images
File Type: jpg laptopdesktopghz.jpg (29.8 KB, 74 views)
__________________

__________________
\"Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.\" -Archimedes
tavilach is offline  
Old 09-19-2003, 06:33 PM   #2 (permalink)
the flaming hermit
 
Join Date: Jul 2002
Posts: 950
Send a message via ICQ to þÄ®âÐÖx Send a message via Yahoo to þÄ®âÐÖx
Default

I know in Linux it's a setting in httpd.conf under the section DirectoryIndex. By default it just says index.html, so all you need to add is index.php on the same line. Not sure about win32, but it should be something similar.
__________________

þÄ®âÐÖx is offline  
Old 09-19-2003, 06:35 PM   #3 (permalink)
Monster Techie
 
Martin's Avatar
 
Join Date: Apr 2002
Location: California
Posts: 1,422
Default

You need to configure it to recognize index.php as a main index file.

I can't quite remember where it is, but do a search in your httpd.conf for strings such as "index.html, index.htm", etc., and add the index.php (or index.phtml and .php3 as well)
__________________
Martin's Page of Stuff

I judge you when you use poor grammar.
Martin is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:02 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.