Support » Fixing WordPress » Making Apache See index.php

  • (Sorry for the probably very basic question – but I’m having no luck searching for the answer!)

    How do I configure the server to automatically view the index.php page?

    I have things up and running, but when I go to a page with an index.php, the server does not automatically use that – e.g. if I go to http://localhost:8080/wordpress, I get a directory listing – clicking index.php will then bring up the right page. I’m guessing this is the same reason that comments don’t work right. When I click on a comment, I get something like http://localhost:8080/wordpress/?p=1#comments. If I manually change the URL to /wordpress/index.php?p=1#comments then things are OK.

    Thanks,
    Bob

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mark (podz)

    (@podz)

    Support Maven

    My Xampp http.conf has this line:

    DirectoryIndex index.html index.htm index.php index.php4 index.php3 index.cgi index.pl index.html.var index.phtml

    so I’d say do a search for DirectoryIndex

    That’s it! It sure was simple. Trying to get a handle on Apache, PHP, and WordPress is frying my brain, I think.

    Thanks,
    Bob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Making Apache See index.php’ is closed to new replies.