diff --git a/.htaccess b/.htaccess index b1d25f2436..0e66de6d60 100644 --- a/.htaccess +++ b/.htaccess @@ -26,3 +26,8 @@ php_value session.gc_probability 1 php_value session.gc_divisor 10 # multibyte extension: needed for utf-8 php_value mbstring.func_overload 7 +# +#For Apache FCGI (not regular mod_php!) you need the following rewrite rule: +#RewriteEngine on +#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] +#Otherwise authentication request will be send over and over again, as password is NOT available to PHP! diff --git a/groupdav.php b/groupdav.php index fb76f619c8..7332f046e9 100644 --- a/groupdav.php +++ b/groupdav.php @@ -2,6 +2,13 @@ /** * EGroupware - CalDAV/CardDAV/GroupDAV server * + * For Apache FCGI you need the following rewrite rule: + * + * RewriteEngine on + * RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] + * + * Otherwise authentication request will be send over and over again, as password is NOT available to PHP! + * * Using the PEAR HTTP/WebDAV/Server class (which need to be installed!) * * @link http://www.egroupware.org diff --git a/phpgwapi/inc/class.egw_digest_auth.inc.php b/phpgwapi/inc/class.egw_digest_auth.inc.php index 017bd39178..6b961350b2 100644 --- a/phpgwapi/inc/class.egw_digest_auth.inc.php +++ b/phpgwapi/inc/class.egw_digest_auth.inc.php @@ -2,6 +2,13 @@ /** * eGroupWare API: Basic and Digest Auth * + * For Apache FCGI you need the following rewrite rule: + * + * RewriteEngine on + * RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] + * + * Otherwise authentication request will be send over and over again, as password is NOT available to PHP! + * * @link http://www.egroupware.org * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @package api diff --git a/webdav.php b/webdav.php index 7e67f50d55..64d8549fb2 100644 --- a/webdav.php +++ b/webdav.php @@ -2,6 +2,13 @@ /** * FileManger - WebDAV access * + * For Apache FCGI you need the following rewrite rule: + * + * RewriteEngine on + * RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] + * + * Otherwise authentication request will be send over and over again, as password is NOT available to PHP! + * * Using the PEAR HTTP/WebDAV/Server class (which need to be installed!) * * @link http://www.egroupware.org