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

--
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

Reply via email to