• Alright, so I configured my wp-config.php file with my correct mysql hostexcellence database information, the username has dba rights, and I got through the install.php stuff, but now whenever I try to get to my admin page, I get a message that says the following:

    Directory Listing Denied
    This Virtual Directory does not allow contents to be listed.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter jedifurball2

    (@jedifurball2)

    The login page appears, but as soon as a type in my login info, I get the “Directory Listing Denied” message again.

    This is a server/config error. Weird. Hang on for someone else more enlightened then I at the moment ;’)

    Thread Starter jedifurball2

    (@jedifurball2)

    Alright, thanks.

    Is there a [blog location]/wp-admin/index.php file?

    Thread Starter jedifurball2

    (@jedifurball2)

    Yes, and now the dashboard works, but when I go to “view site,” I get the “Directory Listing Denied” message yet again.

    Thread Starter jedifurball2

    (@jedifurball2)

    anyone?

    jedifurball2,

    I had this same issue with a new install, but was able to resolve it. In my case, I have WordPress on a hosted server running IIS. My default settings for IIS prohibit browsing, and my default page was set to default.aspx.

    What I did to resolve the issue was to add index.php to the top of my default page listing in IIS. I was then able to login and get properly redirected to the admin page with no further issue. Hope it works for you…

    This sounds like your server is looking for a certain page to load as the default page in a directory. Usually, it’s index.html. If you haven’t set it up so that there’s an order of files the server looks for, and that index.html doesn’t exist, the server thinks you are just trying to browse all the files within that directory. Some servers allow this, other’s don’t. Yours doesn’t. Take a look here (scan down to “Alternative Index Files”):
    https://www.freewebmasterhelp.com/tutorials/htaccess/2

    Also, try getting your hosting company on the phone. This is almost surely a server issue.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If it is an Apache web server, then your hosting company probably needs to include in the virtual host section something like

    <VirtualHost *:80>
    ServerName your.blog.com
    .
    DirectoryIndex index.php
    .
    </VirtualHost>

    PHP is working but when the page is not specified it should be loading up index.php. Does not look like that is happening.

    I fixed this problem on my Windows hosting by editing Web Options. I configured Directory Indexes setting to include index.php as a file that will be served as the default page if a file isn’t listed in the url, for example, myfile.html.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘directory listing denied’ is closed to new replies.