I’m still not any closer to solving this. The author never replied and the posts page has some more comments that are unrelated.
So far I’ve gone through the code some more, trying to follow along with what it is actually doing. It’s not helping much… I’m not seeing it fail anywhere…
OK, while I was writing this I contiuned to play I found some bizarre anomolies…
I was trying to fix the fact that my fix to pass the authentication variables adds to the htaccess file and seems to break the “clean urls” for the feeds.
While playing I randomly put in incorrect information. But since I was already logged in… the friggen hidden post showed up. So it didn’t prompt me, but it included the post. And then it disappeared a few refreshes later and then came back with some more fiddling…
So to summarize,
- Putting in “/wp-rss2.php?http_auth=yes” displays a blank feed, with just the basic information, no posts. But at least it prompts you for authentication”
- Changing that to the actual feed produces a 404 error. And when switched from “/feed/?http_auth=yes” to “/feed/?http_auth=no” the 404 goes away.
- Sometimes if I’m logged in already (only produced in Firefox so far) and just use “/feed/” or even “/wp-rss2.php” (remember, not all the time) I get back the correct feed with the hidden post.
- “/feed/?http_auth=yes” produces a 404 error, yet “/feed/?http_auth=yes/” does not. And again, sometimes produces a feed including the private post.
Maybe I should also make sure that my htaccess can’t be made better (I’m sure it can).
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [E=REMOTE_USER:%{HTTP:Authorization},L]
</IfModule>
# END WordPress
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
</IfModule>
Is there anyone out there who can give me something positive? I can’t make heads or tails of all this wonky behavior… Thanks!