• I still have Version 2.0.7 running on my server, and need to upgrade.

    In preparation, I want to get 2.8.4 running on my development machine. Unfortunately, while I had WP running well on the machine I used to used, I’ve never had it running on this one.

    The problem: no matter which URL you enter within the blog, you end up at the directory list in the blog directory, essentially index.html.

    Before I upgraded, /index.php worked correctly, but everything else defaulted to /index.html. Now even index.php does this.

    Same with my admin subdirectory.

    I strongly suspect there’s a simple solution here, something in the config, but I cannot figure it out.

    I have changed siteurl and home in the options table to http://localhost/blog. While the server is Linux, the development machine is Windows / Apache.

    It is properly connecting to the database, because if I alter the login info I get an error. Otherwise, no errors, just no blog either.

    So, what am I missing?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter mkaresh

    (@mkaresh)

    Update: the admin area is now functional. The blog itself, still not.

    Thread Starter mkaresh

    (@mkaresh)

    No suggestions?

    Some additional info: no plug-ins except akismet, and the problem is the same even if I switch to a default theme.

    While the server is Linux, the development machine is Windows / Apache.

    What?

    Look into the Apache DirectoryIndex directive.

    Thread Starter mkaresh

    (@mkaresh)

    The bit that was unclear:

    I’m trying to install WP on my laptop, to get all of the formatting correct before I upgrade WP on the server.

    So Apache is defaulting to index.html when a file isn’t found.

    So real question: why aren’t these files being found? What could cause WP files to not be found, when they are on the hard drive in the blog directory?

    Apache on windows? So I think you are using WAMP or XAMMP.. correct? or installed Apache separately?

    In any case, if you have index.html, remove it from the root folder.

    I’m trying to install WP on my laptop

    So you are using something like XAMP?

    What could cause WP files to not be found, when they are on the hard drive in the blog directory?

    Again, look into the Apache DirectoryIndex directive. Your DirectoryIndex directive probably reads something like DirectoryIndex index.html, which is the default for Apache. It should read DirectoryIndex index.php index.html.

    Thread Starter mkaresh

    (@mkaresh)

    Not using anything like XAMP. Just a standard Apache install on a Windows machine.

    The directoryindex isn’t the problem. Even if I directly type http://localhost/blog/index.php it defaults to the directory. And yet the entire admin area works perfectly, so the problem is only when trying to view the blog itself. When this happens, it appears that a file like blog?p=4 is not being found.

    Thread Starter mkaresh

    (@mkaresh)

    Well, I gave up trying to get WordPress to work on my notebook. Transferred the files to the server, and 2.8.4 works fine there.

    Something is not adapting well to running on “localhost.”

    switch off permalinks and try that. If it works then switch them back on again and see if that works.

    I run my development wordpress on windows 2000 and it works fine…

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    mkaresh: Try adding DirectoryIndex index.php to your .htaccess (or httpd.conf) file.

    Seriously. Don’t argue with people, just try it.

    I mean, we’re not just making this stuff up for no reason. That will most likely fix your problem.

    Really.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Getting WP to run on my development machine’ is closed to new replies.