WordPress.org

Ready to get started?Download WordPress

Forums

wp-admin produces directory listing (7 posts)

  1. muffintop
    Member
    Posted 3 years ago #

    Hi,

    When browse to wp-admin I just get a directory listing instead of teh login page. Anyone know what's wrong here?

    Thanks,

  2. Leon
    Member
    Posted 3 years ago #

    Does the index.php file still exists in this directory?

  3. muffintop
    Member
    Posted 3 years ago #

    Yes it does.

    I have worked around it since posting by adding index.php index.html index.htm to the DirectoryIndex in httpd.conf.

    I'd be interested to know if this is suitable workaround or not thugh.

    Thanks,

  4. Leon
    Member
    Posted 3 years ago #

    it should be something like this:

    <IfModule mod_dir.c>
    DirectoryIndex index.htm index.html index.php index.php3 default.html index.cgi
    </IfModule>

    Then it should be fine.
    Do other directories also have the same problem? If you create a test directory and place a index.php file in there. And then go to that directory url, does it work?

  5. muffintop
    Member
    Posted 3 years ago #

    I'm at a loss now!

    I've enabled vhosts and now cannot access wp-admin at all now!

  6. Leon
    Member
    Posted 3 years ago #

    Can you not disable that again?

  7. muffintop
    Member
    Posted 3 years ago #

    I can yes and it works.

    I've decided to scratch it and try again. Seems like it's far too much playing around to get such a simple thing working.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.