xbgmsharp/sogosync — pull request #67 by ben-github (2012-11-01 23:06:34+00:00)
Title: Support auth from both mod_php and FastCGI

This commit tries auth against mod_php variables but if they aren't there tries against FastCGI variables provided apache configured with

SetEnvIfNoCase ^Authorization$ "(.+)" PHP_AUTH_DIGEST_RAW=$1

Works for me, but haven't tested against mod_php that I didn't break anything.