From 428e71daad0aab40342e9211d73eb7a1a32c25da Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 18 Mar 2013 08:14:47 +0000 Subject: [PATCH] documented required rewrite rule for Apache FCGI --- .htaccess | 5 +++++ groupdav.php | 7 +++++++ phpgwapi/inc/class.egw_digest_auth.inc.php | 7 +++++++ webdav.php | 7 +++++++ 4 files changed, 26 insertions(+) diff --git a/.htaccess b/.htaccess index 5865d3aa8d..cd31f25996 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 81a0e222a9..4cf4f1c2af 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 927c9816ce..0bf1550ff8 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