[horde] Horde via Apache Virtual Host

Drew McIntosh hordelist at yanatech.net
Tue Nov 14 12:48:05 PST 2006


Apache 2.0.52

PHP 4.0.39

Latest Horde/Imp/Mnemo/etc.

Mysql Backend: 4.1.20

Mysql client: 4.1.20

 

I have a rather weird issue. I have installed Horde Framework/IMP/mnemo/etc
and everything seems to be working fine unless I try to make it a virtual
host.
For Example: Lets say that right now I have Horde/Imp in the Apache 2
document root of /web/WWW/Public and a virtual host setup for somedomain.com
as follows:

 

####################### Default Site #######################

<VirtualHost 1.2.3.4:80>

ServerName www.somedomain.com

ServerAlias somedomain.com *.somedomain.com

ServerAdmin webmaster at somedomain.com

DocumentRoot /web/WWW/Public

</VirtualHost>

####################### Default Site #######################

 

If I surf to http://www.somedomain.com/horde - The page opens up just fine
and I can login and create/send/read mail etc fine!
If I move the horde folder out of the document root folder into domain
folder (multiple domains) and make a Virtual Host entry for it as follows:

################# Horde Server #####################

<VirtualHost 1.2.3.4:80>

ServerName horde.somedomain.com

ServerAdmin webmaster at somedomain.com

DocumentRoot /web/WWW/Public/ActiveSites/www.somedomain.com/horde

ErrorLog /web/WWW/logs/hordemail-error_log

CustomLog /web/WWW/logs/hordemail-access_log combined

</VirtualHost>

################ Horde Server ######################

 

This way I still get the homepage to login, but If I try to login, It looks
like it is going to work, then it just takes me back to the login screen.

 

I get apache errors of the following:

******

[client Some IP Address] PHP Warning:  Invalid argument supplied for
foreach() in /web/WWW/Public/horde/gollem/lib/Gollem.php on line 865,
referer:
http://www.somedomain.com/horde/index.php?url=http%3A%2F%2Fwww.somedomain.co
m%2Fhorde%2F

[client Some IP Address] PHP Warning:  Invalid argument supplied for
foreach() in /web/WWW/Public/horde/gollem/lib/Gollem.php on line 865,
referer: http://www.somedomain.com/horde/services/portal/sidebar.php

[client Some IP Address] PHP Warning:  Invalid argument supplied for
foreach() in /web/WWW/Public/horde/gollem/lib/Gollem.php on line 865,
referer:
http://www.somedomain.com/horde/index.php?url=http%3A%2F%2Fwww.somedomain.co
m%2Fhorde%2F

[client Some IP Address] PHP Warning:  Invalid argument supplied for
foreach() in /web/WWW/Public/horde/gollem/lib/Gollem.php on line 865,
referer: http://www.somedomain.com/horde/services/portal/sidebar.php

******

Line 865 of my Gollem.php looks like this:

****

foreach ($backends as $key => $val) {

****

 

Thoughts?

 

Thank you,

Drew



More information about the horde mailing list