• Resolved djduffy

    (@djduffy)


    I’m using Win XP SP2, Apache 2.latest, php 4.4, mysql 4.1.14. I’ve installed WP 1.5.2, and configured it. It appears to work, except that moving between pages fails and shows just an index in the browser instead of WP content.

    I’m not sure about the Apache config, but my website works [basic html content] and phpBB and PostNuke, also installed under same site, all work normally. Along the way I was getting 403 errors from WP pages, when all the other sites worked normally. Not sure why WP should be so different. Here’s an apache log message from the 403 errors. Never saw these from PostNuke.
    <b> [Sat Aug 27 15:53:26 2005] [error] [client 192.168.1.12] Directory index forbidden by rule: C:/wwwSite/wordpress/, referer: https://galepc/wordpress/wp-admin/themes.php?activated=true
    </b>

    Now I’m not getting errors. Just indices if URL ends in slash. If I use /index.php then the pages work. But WP links fail between pages.

    Thanks,
    Darrell

Viewing 3 replies - 1 through 3 (of 3 total)
  • You probably have permalinks turned on…. because WP doesn’t actualy create folders, they fail on Windows boxes (at least that’s what my experience taught me.) tunring them off and removing the htaccess file fixed it.

    Tg

    Thread Starter djduffy

    (@djduffy)

    I’m not sure where to turn permalinks on or off.

    I notice on the admin panel/ Manage / files page I get this:
    <b>Warning: file(C:\wwwSite\wordpress/): failed to open stream: Permission denied in C:\wwwSite\wordpress\wp-admin\admin-functions.php on line 938

    Warning: implode(): Bad arguments. in C:\wwwSite\wordpress\wp-admin\admin-functions.php on line 938 </b>

    These paths are correct, except that I note the mixture of forward and backward slashes.

    Sigh… Still stuck..
    Thanks,
    Darrell

    Thread Starter djduffy

    (@djduffy)

    Ok… I’ve learned a lot since I posted this problem, but I found the solution, so I thought I’d post it here for others. The issue is with the Apache http.conf file and it’s the DirectoryIndex directive.

    In earlier versions of Apache it looks something like this:
    <IfModule mod_dir.c>
    DirectoryIndex index.html index.php
    </IfModule>

    And in Apache 2 it looks just like this:
    DirectoryIndex index.html index.php

    Make sure you add the index.php if it’s not there.

    So now wordpress works on my local Apache 2.0 server running on windows.
    Here’s my wordpress site on my webhoster in case you’re interested:
    https://www.windyweather.net/wp/

    BTW, I found the solution on a wiki page for cpgnuke. We might consider having some help pages for Apache configuration [unix and windows] here at the wordpress site.
    cheers,
    djd

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting “indecies” of folders rather than content…’ is closed to new replies.