WordPress.org

Ready to get started?Download WordPress

Forums

Making Apache See index.php (3 posts)

  1. rpclark
    Member
    Posted 9 years ago #

    (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

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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

  3. rpclark
    Member
    Posted 9 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.