But late last night I was using Windows Live Writer to write a post on the laptop installation, like I've done tons of times, and it published correctly and launched the site site in Firefox to let me see it. No problem. The post showed up on the home page just as I expected. But I wanted to check an earlier post and when I clicked on it from the home page I was presented with a dialog that said:
"Authentication required!
This server could not verify that you are authorized to access the URL "/xampp/". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
In case you are allowed to request the document, please check your user-id and password and try again.
If you think this is a server error, please contact the webmaster.
Error 401
localhost
11/05/09 08:43:49
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 "
That was completely out of pattern. I'd never seen that before. It had my login and password in the fields, so I clicked the OK button and was taken to the xampp Welcome page and not the post page I wanted. I went back to the main page and tried again and this time I was immediately redirected to the xampp Welcome page.
I logged into the WP dashboard and everything was fully functional. I could see all the posts. But if I try to launch them in a new tab, I always get that redirect. I can log in and access the phpMyAdmin and get access to the database with no problem.
I spent several hours last night and this morning searching the forum and the web for answers and found out about checking the error and access logs. Very helpful. I seem to be getting a 302 redirect, for some reason, on the post pages. My access log shows this when I try to access a post:
127.0.0.1 - - [05/Nov/2009:08:34:08 -0600] "GET /wordpress/2009/03/testing-sunday-morning-esosoft-fix/ HTTP/1.1" 302 -
127.0.0.1 - - [05/Nov/2009:08:34:08 -0600] "GET /xampp/ HTTP/1.1" 401 1336
That's the point where the dialog happens the first time I try to access a post after starting Apache and MySql with control.exe. After that it shows this when I access a post (but typical of any post):
127.0.0.1 - - [05/Nov/2009:10:10:47 -0600] "GET /wordpress/2009/03/testing-sunday-morning-esosoft-fix/ HTTP/1.1" 302 -
127.0.0.1 - DDdev [05/Nov/2009:10:10:47 -0600] "GET /xampp/ HTTP/1.1" 200 604
127.0.0.1 - DDdev [05/Nov/2009:10:10:47 -0600] "GET /xampp/head.php HTTP/1.1" 200 1393
127.0.0.1 - DDdev [05/Nov/2009:10:10:47 -0600] "GET /xampp/start.php HTTP/1.1" 200 1015
127.0.0.1 - DDdev [05/Nov/2009:10:10:47 -0600] "GET /xampp/navi.php HTTP/1.1" 200 3132
I had the idea this morning to check the desktop machine's behavior and compare it to help track down the problem, but found that it too is now doing the exact same thing as my laptop installation.
I had Microsoft updates come in for both machines yesterday and Firefox also had some updates in the past day or two, and that made me wonder if that might be a factor. I couldn't find anywhere in the forum or googling where anyone had this exact situation or problem. That usually means I've done something stupid.
Does anyone have any idea why this might be happening out of the blue like this on two different machines with two different and separate xampp setups?
I'm using:
Windows XP SP3 fully updated and patched on both machines
XAMPP Version 1.7.1 just as it comes in the install with no mods other than the security measures recommended.
Wordpress v2.8.5 (updated earlier this week prior to this odd behavior)
Thanks for any light you might be able to shed on this. Much appreciated.