I started adding echo statements to the …/wp-admin/index.php and admin.php files. The admin.php code seems to work fine until it gets to the auth_redirect(); statement. And the auth_redirect() appears to complete all the way to the exit(); statement at the end.
It appears the auth_redirect() should be redirecting me to:
https://irs-taxattorney.org/wp-login.php?redirect_to=http%3A%2F%2Firs-taxattorney.org%2Fwp-admin%2F&reauth=1
This URL works fine when I copy it to the browser address manually (Chrome, Win 7 Pro). Once I login the resulting page appears blank. However, this page at least has source code (which I’ve pasted to the end of this post).
The resulting URL is:
https://irs-taxattorney.org/wp-login.php
This URL works fine (i.e. the form appears and looks correct) if I manually type it in but not when I am redirected to it. The source code of both appears to identical – I have only checked this via my eyeballs. The CSS files in the source are there so missing dependencies that I can find.
Since the HTML source is identical between the 2 pages and 1 appears while the other does not I thought maybe it was just some weird browser problem. However, I tried the same sequence on Firefox 3.6.15 on my Win 7 Home Premium box and Firefox 3.6.16 on my Ubuntu Karmic box. Same results.
I have found some threads suggesting the “client sent HTTP/1.1 request without hostname…” error is a bug in the Ubuntu Lucid (10.04) but not in the older release as the thread repeatedly mentions people only have the problem after upgrading to Lucid. I’m running an older version of Ubuntu on the irs-taxattorney.org server. And there are other domains on that server (showing the same error) which are not having any problems. Those domains run the same WordPress setup targeting other topics from different DBs.
I’m tempted to think that the “client sent HTTP/1.1 request without hostname…” error has something to do with a busted WordPress/PHP redirect script of some sort. The problem is unique to this domain so I figure it must be in the files or DB for this domain.
I think my next course of action is to backup the current irs-taxattorney.org domain, copy over my WordPress files from another domain, fix the wp-config.php and see what happens.
Thanks
Gabe
[Code moderated as per the Forum Rules. Please use the pastebin]