Support » Fixing WordPress » wp-admin produces directory listing

  • Hi,

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

    Thanks,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Leon

    (@leondoornkamp)

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

    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,

    Leon

    (@leondoornkamp)

    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?

    I’m at a loss now!

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

    Leon

    (@leondoornkamp)

    Can you not disable that again?

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wp-admin produces directory listing’ is closed to new replies.