FCGI
From DAViCal Wiki
- add "Passheader AUTHORIZATION" to the apache configuration, e.g. in the fcgid.conf:
<IfModule mod_fcgid.c> AddHandler fcgid-script .fcgi IPCConnectTimeout 20 Passheader AUTHORIZATION </IfModule>
- getallheaders() is only available for mod_php, replace it by putting this code into your *-conf.php:
if (!function_exists('getallheaders'))
{
function getallheaders()
{
foreach ($_SERVER as $name => $value)
{
if (substr($name, 0, 5) == 'HTTP_')
{
$headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value;
}
}
return $headers;
}
}
(above code taken from http://us.php.net/manual/en/function.getallheaders.php#84262)

