[horde] Horde 6 - web/index.php config detection broken
Nels Lindquist
nlindq at maei.ca
Fri Apr 3 00:18:32 UTC 2026
Hi, Brent.
If you mean my webserver (Apache) DocumentRoot, then yes.
I haven't overridden the webroot in any local Horde installation
context; I see "deployment_webroot = '/;" in
var/config/horde/registry.d/00-horde.php but presumed the auto-generated
values were reasonable.
--
Nels Lindquist
nlindq at maei.ca
On 2026-04-02 5:47 PM, Brent wrote:
> I assume you have your webroot configured as <install-dir>/web
>
> That should be what the webserver "sees". Such that "index.php" is just
> "url:/index.php" and NOT "url:/web/index.php"
>
> Just checking.
>
> brent
>
> Quoting Nels Lindquist <nlindq at maei.ca>:
>
>> Hi, all.
>>
>> In my environment, the configuration detection in web/index.php is:
>>
>> if (file_exists(__DIR__ . '/horde/config/conf.php')) {
>>
>> That doesn't work, and opening mysite.example.org produces the "Please
>> create a conf.php file and then run 'composer horde-reconfigure' ..."
>> message.
>>
>> If I change the line to check where the symlinked conf.php is actually
>> created, it then works as expected:
>>
>> if (file_exists(__DIR__ . '/../vendor/horde/horde/config/conf.php')) {
>>
>> I did note that one of the steps listed when calling 'composer
>> horde-reconfigure' is "Linking app configs to /web Dir", but there are
>> no linked conf.php files under /web at all. Should there be?
More information about the horde
mailing list