Forums

Showing the directory of wordpress when navigating to index.php (4 posts)

  1. lzcarl
    Member
    Posted 3 months ago #

    Hi, all,

    I've just installed wordpress 2.8 following the 5 minute instructions, and I think the DB is configured correctly. When I logged in with admin and try to view my post by http://localhost/wordpress/

    it showed the directory of wordpress but not the blog posts.

    like:

    Index of /wordpress

    * Parent Directory
    * index.php
    * license.txt
    * readme.html
    * wp-admin/
    * wp-app.php
    ....

    What's wrong with it? I'm totally dumb ass for this stuff.

  2. Chris_K
    Administrator
    Posted 3 months ago #

    Your web server needs to be configured to recognize index.php as a default page.

  3. lzcarl
    Member
    Posted 3 months ago #

    I'm not sure if it is the problem of default page, because when I type http://localhost/wordpress/index.php, it just redirects to http://localhost/wordpress/.

    BTW, how to do that configuration?

    Thanks.

  4. lzcarl
    Member
    Posted 3 months ago #

    Oh, it works.
    When I modify the directoryindex in httpd.conf to
    DirectoryIndex index.php index.html
    it is all OK.

    Sorry for this silly question.

    Thank you for your help.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.