• I’m not the first with the problem of being unable to see the WP homepage, and getting the file structure, instead.

    I read several of the entries on this forum, and tried most of the suggestions, to no avail.

    I’m running a test server at https://beacon2.homeunix.com/wp on a Mac OS X Server 10.5.8 Leopard, with the following software:

    Apache/2.2.15 (Unix)
    mod_ssl/2.2.15
    OpenSSL/0.9.7l
    DAV/2 PHP/5.2.13
    mod_perl/2.0.4
    Perl/v5.8.8
    MySQL 5.1.47
    PHP MySQL Library 5.0.45

    I’ve installed phpMyAdmin 3.2.0.1, which would indicate PHP is OK.

    I can login and get to the admin area, I can write posts, configure plugins just fine, BUT when I try the home page, it only displays the file structure.

    I’ve modified the .htaccess file to have the line at the very top be:

    DirectoryIndex index.php index.html index.htm index.cgi

    If anyone has had WP 3.0 behave this way and was able to solve it, please send me a hint.

    Thanx,

Viewing 7 replies - 1 through 7 (of 7 total)
  • Is PHP running on the server?

    Thread Starter acorbo

    (@acorbo)

    Yes, PHP is running on the same server. I’ve been using phpMyAdmin to manage MySQL, just fine, and as I said, the admin part of WP works just fine.

    Thread Starter acorbo

    (@acorbo)

    esmi,

    I forgot, here’s the link to the PHP infopage: beacon2.homeunix.com/info.php

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The file you have there is htaccess NOT .htaccess

    That leading period is important ??

    Thread Starter acorbo

    (@acorbo)

    Ipstenu:

    Yes, I know. I do have an .htaccess file on the root. The ‘htaccess’ file is an old one I kept for reference, sort of a trail of changes.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Good to know ?? A lot of people don’t know that ??

    Try making a new folder https://beacon2.homeunix.com/test and ONLY put an index.php file in it (with a Hello World! message or such).

    PHP IS running, but it doesn’t seem to accept index.php as a valid home page.

    You can also try JUST this line:

    DirectoryIndex index.php

    Also check if your sever uses http.config instead.

    Thread Starter acorbo

    (@acorbo)

    Ipstenu:

    I tried making a new folder (test) and only placed an index.php file at
    https://beacon2.homeunix.com/test but unless I type index.php… you’ll see that it behaves the same way, it displays the folder contents in a directory type structure.

    I also tried having DirectoryIndex index.php both in the httpd.conf and in the .htaccess files, but it doesn’t work either.

    –a

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘No Homepage, Just a WP file directory’ is closed to new replies.