[commits] [Wiki] changed: ActiveSync
Michael Rubinsky
mrubinsk at horde.org
Mon Oct 24 14:12:07 UTC 2011
mrubinsk Mon, 24 Oct 2011 14:12:07 +0000
Modified page: http://wiki.horde.org/ActiveSync
New Revision: 107
Change log: Add notes from Bug: 10647
@@ -22,9 +22,23 @@
<code>
Alias /Microsoft-Server-ActiveSync /var/www/horde/rpc.php
</code>
-or for lighttpd:
+// Note: // It has been reported that when running PHP via mod_fcgid
on Apache that the Alias directive will not pass the correct URL to
the fcgid-script handler. This can be worked around by using a
!RewriteRule instead (adapted from
http://maurus.net/weblog/2010/10/26/running-z-push-1-4-2-with-apache-and-fastcgifcgid/):
+<code>
+ RewriteEngine On
+ RewriteRule ^/Microsoft-Server-ActiveSync /horde/rpc.php [PT,L,QSA]
+</code>
+There has also been a report from that the Authorization headers are
not correctly passed when using mod_php with Apache. These are known
issues and are should actually already be taken care of by the
Horde_Controller_Request object. However, if you are still having
issues with !ActiveSync complaining about no Authorization errors, you
can try the following configuration:
+<code>
+RewriteRule .* - [E=HTTP_MS_ASPROTOCOLVERSION: %{HTTP:Ms-Asprotocolversion}]
+RewriteRule .* - [E=HTTP_X_MS_POLICYKEY: %{HTTP:X-Ms-Policykey}]
+RewriteRule .* - [E=HTTP_AUTHORIZATION: %{HTTP:Authorization}]
+</code>
+None of these issues have been reported using lighttpd/fastcgi.
+
+
+For lighttpd:
<code>
alias.url = ("/Microsoft-Server-ActiveSync" => "/var/www/horde/rpc.php");
</code>
More information about the commits
mailing list