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