[Tickets #13926] Re: Missing Web Root in Nag Notifications if changes are made via ActiveSync
noreply at bugs.horde.org
noreply at bugs.horde.org
Thu Apr 16 12:22:38 UTC 2015
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/13926
------------------------------------------------------------------------------
Ticket | 13926
Updated By | skhorde at smail.inf.fh-bonn-rhein-sieg.de
Summary | Missing Web Root in Nag Notifications if changes are
| made via ActiveSync
Queue | Nag
Version | FRAMEWORK_5_2
Type | Bug
State | No Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
skhorde at smail.inf.fh-bonn-rhein-sieg.de (2015-04-16 12:22) wrote:
> Cannot reproduce.
>
> My guess is that either you need to manually set $app_webroot in
> config/registry.local.php or your webserver is either misconfigured
> or not passing the correct value for one of the path-related
> variables in $_SERVER when using an ALIAS or REWRITE RULE see
> wiki.horde.org/ActiveSync for more information on setting up the
> server rules for ActiveSync.
Your assumption seems to be correct. I'm using Apache v2.2.16. In
rpc.php the _SERVER variables contains:
1) with the rewrite rule from the Wiki
["QUERY_STRING"]=>
string(0) ""
["REQUEST_URI"]=>
string(28) "/Microsoft-Server-ActiveSync"
["SCRIPT_NAME"]=>
string(14) "/horde/rpc.php"
["PHP_SELF"]=>
string(14) "/horde/rpc.php"
2) with the Alias rule:
["QUERY_STRING"]=>
string(0) ""
["REQUEST_URI"]=>
string(28) "/Microsoft-Server-ActiveSync"
["SCRIPT_NAME"]=>
string(28) "/Microsoft-Server-ActiveSync"
["PHP_SELF"]=>
string(28) "/Microsoft-Server-ActiveSync"
In both cases Horde::url() does not add the webroot "/horde".
====
As you suggested, I added a local registry.php file with:
$app_webroot = '/horde'; // make sure ActiveSync gets the correct webroot
which correct the problem. The URL is correct now.
More information about the bugs
mailing list