[imp] Unable to configure Horde Webroot

Jan Schneider jan at horde.org
Sun Jul 12 14:44:35 UTC 2015


Zitat von Barry Haycock <barryh at flappingfish.net>:

> I have installed php 5.4.16 on a Centos 7.1 server with Horde 5.2.6.
> Horde was installed and configured using pear.
>
> My install is located at /var/www/webmail
> I have created a horde.conf file for httpd that is
>
> Alias /horde/ /var/www/webmail/
>
> <Directory /var/www/webmail/>
>     Options +FollowSymLinks
>     Order allow,deny
>     Allow from all
> </Directory>
>
> I have a few problems with the final configuration or Horde that I  
> am unable to resolve.
>
> When I run webmail-install it  runs correctly.
> But when I try and a URL such as https://<server>/horde/admin/config  
> the URL reverts to /.
>
> When I call up the horde test.php page everything displays correctly  
> and shows that horde is correctly installed. But when I click on a  
> URL to run tests for imp for instance the URL is displayed as  
> <server>/test.php?app=imp instead of <server>/horde/test.php?app=imp.
>
> This  occurs with all horde related URLs
>
> I suspect that the webroot is not set.

Correct.

> I have tried setting webroot in registry.php with no joy.

Besides that you have to set it in registry.local.php, how did you set it?

> I have tried a webroot of /var/www/webmail and /horde with no joy

/var/www/webmail is the fileroot, only /horde is a correct webroot.

> The http access logs confirms this with 404 errors for GET requests.
>   The horde documentation states that once I have run  
> webmail-install the system should just work, the FAQ doesn't cover  
> this and searching for a solution hasn’t been successful.

This is because you have set an alias, which is not a standard setup  
and requires additional configuration.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the imp mailing list