This issue has come up before, with the most discussion in http://groups.google.com/group/habari-dev/browse_thread/thread/84a51a1d15180ecb . Note that there was a patch attached to trac ticket #64 ( http://trac.habariproject.org/habari/ticket/63 ) to deal with it in code. r4592 ( http://trac.habariproject.org/habari/changeset/4592 ) added the RewriteRule David referenced to the .htaccess generated by InstallHandler, but it was commented out in r4622 ( http://trac.habariproject.org/habari/changeset/4622/trunk/htdocs/system/classes/installhandler.php ) because it caused errors in a mod_php environment.
Rick The RewriteRule David referenced in his last post is actually included in InstallHandler, but has been commented On Jul 25, 1:49 pm, David <david.bl...@gmail.com> wrote: > On Jul 25, 6:47 am, Owen Winkler <epit...@gmail.com> wrote: > > > > > > > > > > > And for those playing along at home.... > > > FastCGI on Apache doesn't play well with http_auth. You need to make > > these changes: > > > Edit the RewriteRule line in .htaccess to read thus: > > > RewriteRule . index.php [PT,E=REMOTE_USER:%{HTTP:Authorization},L] > > > Add this line (might not be exactly this, but this will get you close) > > to Habari's config.php: > > > if(isset($_SERVER['REDIRECT_REDIRECT_REMOTE_USER'])) > > list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':', > > base64_decode(substr($_SERVER['REDIRECT_REDIRECT_REMOTE_USER'], 6))); > > > There might be too many or too few "REDIRECT_"s in there. Adjust as > > necessary. > > Owen - thanks for the CDATA idea! That works for me. > > Also, my site is hosted by Dreamhost which runs PHP as a CGI (or > something like that, I don't actually know anything about the web or > PHP) which evidently is a problem with authorization, too. (Maybe > this is exactly the same issue you're talking about.) > > All I did was add the following line to my .htaccess at each blog > platform to get AtomPub working for me: > > RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] > > I did not have to edit Habari's config.php. -- To post to this group, send email to habari-users@googlegroups.com To unsubscribe from this group, send email to habari-users-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/habari-users