Forums

Directory Listing Denied ? Help (11 posts)

  1. sherrill_me
    Member
    Posted 5 years ago #

    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?

  2. podz
    Support Maven
    Posted 5 years ago #

    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.

  3. sherrill_me
    Member
    Posted 5 years ago #

    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?

  4. podz
    Support Maven
    Posted 5 years ago #

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

  5. sherrill_me
    Member
    Posted 5 years ago #

    yep, they fixed it.. thanks :)

  6. PARoss
    Member
    Posted 3 years ago #

    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

  7. petit
    Member
    Posted 3 years ago #

    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).

  8. PARoss
    Member
    Posted 3 years ago #

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

    Phil

  9. davidhouse
    Member
    Posted 3 years ago #

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

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

  10. angsuman
    Member
    Posted 3 years ago #

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

  11. davidhouse
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.