WordPress.org

Ready to get started?Download WordPress

Forums

Directory listing denied (8 posts)

  1. TechGnome
    Moderator
    Posted 9 years ago #

    It soiunds as if the server isn't set up to process index.php as a default document.
    TG

  2. miaow
    Member
    Posted 9 years ago #

    Yep. That's what I'm thinking, after all my googling. But I don't know what to tell them to fix! I've just discovered that although I can access the page, I STILL can't login normally - the only way I can get to the WP interface is by clicking on the 'edit' link on index.php (which I can only get to via the redirect). Any suggestions?

  3. carthik
    Member
    Posted 9 years ago #

    You can always ask them to edit httpd.conf (usually at /usr/local/apache/conf/httpd.conf) and to add index.php to your DirectoryIndex line. I have included a sample of a DirectoryIndex line that works below:

    # Add index.php to your DirectoryIndex line:
    DirectoryIndex index.html index.php

  4. miaow
    Member
    Posted 9 years ago #

    thank you, I'll try that - but they're not using apache - they seem to be using all microsofty stuff...

  5. carthik
    Member
    Posted 9 years ago #

    I think they should be using apache + php on an IIS server (Microsoft's server technology), but I might be wrong...

  6. TechGnome
    Moderator
    Posted 9 years ago #

    If they are in fact using IIS & PHP, then tell them that index.php needs to be added as a default document in the properties for wwroot in the IIS admin area. If they are smart and are willing to help, they'll know what that means.
    Tg

  7. PipB
    Member
    Posted 9 years ago #

    Watch that code workaround. It works with Mozilla, but not with IE. I looked up the <meta http-equiv=
    It ought to be something like
    <meta http-equiv="refresh" content="5;URL=index.php" />
    (The 5 is the length of time it waits whilst displaying your message in the body.)

  8. Anonymous
    Unregistered
    Posted 9 years ago #

    TG has it right, but most sysadmins are hesitant to make server-wide changes for a single virtual host. Fortunately, they can add "index.php" as a default document for just the one virtual host (yours) instead of the entire server (the "wwwroot" site).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.