+ Reply to Thread
Results 1 to 6 of 6

Thread: Test Server Apache Problems

  1. #1
    driveflexfuel is offline x10 Sophmore driveflexfuel is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    159

    Test Server Apache Problems

    First I am sorry if this is not the best place to post this message. I was not sure where to ask.

    I installed apache and php on my win XP Pro platform and everything seems to be working ok. I am able to type in Localhost/ and it displays the directory. My problem is it will not load index.php. It will only load the directory contents. I have been racking my brain for hours if someone knows how to fix this please help out.

    I have tried changing all htaccess files to htaccess.txt which did nothing

    Information from httpd.conf
    Code:
    <IfModule mod_dir.c>
        DirectoryIndex index.php index.html index.htm
    </IfModule>
    
    
    AccessFileName .htaccess
    I also placed a .htaccess file in the directory with this line within it.

    Code:
        DirectoryIndex index.php index.html index.htm
    If anyone has any ideas I will gladly try them

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Test Server Apache Problems

    If you have index.html in the directory, does it display that?
    Nothing is always absolutely so.

  3. #3
    driveflexfuel is offline x10 Sophmore driveflexfuel is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    159

    Re: Test Server Apache Problems

    no it just opens the directory and shows the index.html file listed. you have to click on index.html in order to view the site.

  4. #4
    lhyman's Avatar
    lhyman is offline x10 Sophmore lhyman is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    198

    Re: Test Server Apache Problems

    Only thing I can suggest, uninstall everything, then download this and install, then check if everything works:

    http://www.apachefriends.org/en/xampp-windows.html
    My Name is Larry Hyman from Montreal. I fix computers on site, see my web site for more details:

    http://hyman.sytes.net

  5. #5
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Test Server Apache Problems

    Is mod_dir installed and activated? If mod_info is installed and active, it will list all active modules. Try going to "http://localhost/server-info". You can also check in httpd.conf for mod_dir.

    Code:
    LoadModule dir_module        path/to/mod_dir.so
    ...
    AddModule mod_dir.c
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  6. #6
    driveflexfuel is offline x10 Sophmore driveflexfuel is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    159

    Re: Test Server Apache Problems

    I did as lhyman suggested. The package he suggested was newer and more up-to-date.

    Thanks for the help.

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 11-05-2008, 07:54 PM
  2. installing Apache in Localhost.
    By naim4u in forum Tutorials
    Replies: 5
    Last Post: 01-20-2008, 04:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers