• I installed Word Press and everything worked beautifully, all database connections were made – Then when i went to log in with the username: admin and the dynamic password that was generated, i see a page that says “Directory Listing Denied”. Any suggestions?

Viewing 10 replies - 1 through 10 (of 10 total)
  • That usually happens if there is no index file in a directory.
    Causes:
    – you have not uploaded index.php
    or
    – your server is not recognising the .php extension of index as being valid.
    Check the first, if it is there then, as a test do this:
    Create a simple text file (‘Hi this is html’), save it as ‘index.html’
    Upload that to your wp directory, then browse to that directory – you should see the message you typed.
    Then delete that index.html, and try again in the directory – if you get nothing AND index.php is there, email your host – it’s their problem.

    Thread Starter sherrill_me

    (@sherrill_me)

    ahh, yes… when i uploaded the index.html and went to that directory.. i could view the html file, but for some reason i can’t view the index.php file from browsing to the directory. what should i tell my service provider? anything specific?

    Tell them what works, and what does not.
    They need to make one very very simple change for it all to work.

    Thread Starter sherrill_me

    (@sherrill_me)

    yep, they fixed it.. thanks ??

    I have the same problem, and my test.htm file displays okay. However, I’m trying to install WordPress on my localhost, but don’t know what the problem is.

    Phil

    If you have the index.php page in the directory you are addressing and it doesn’t show up, you’ll have to check that your web server is configured to recognize index.php as a legal index page as well as index.htm, index.html and possibly default.htm(l).

    Okay. How do I do that? I have Apache, PHP and MySQL installed to the Windows XP localhost.

    Phil

    Make sure the following lines appear in your httpd.conf:

    AddType application/x-httpd-php .php .phtml
    DirectoryIndex index.php

    > DirectoryIndex index.php
    Actually just add index.php to the existing list which will surely contain index.html index.html etc.

    True, but adding a second DirectoryIndex doesn’t do any damage, they don’t override each other.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Directory Listing Denied ? Help’ is closed to new replies.