[horde] Horde with virtualhots

Tony Accardo tonyaccardo at free.fr
Fri Jan 30 06:27:27 PST 2004


Hi all,

I've got several different virtualhosts, and I want to serve them with the
same instance of horde installation, for example:
http://horde.mydomain1.com pointing on /var/www/horde,
http://horde.mydomain2.com pointing on /var/www/horde, etc...

I've already done that, and all my virtualhosts are pointing on the right
directory of my apache installation, but when I try to login by the horde's
login page, I got a '302 ERROR'. At this point, if I click on 'Back' in my
browser, Horde show me my mailbox, any idea?

Here is my apache server log for the session:

194.2.91.222 - - [30/Jan/2004:14:47:37 +0100] "POST /imp/redirect.php
HTTP/1.1" 302 5
"http://horde.morcy-city.com/imp/login.php?url=http%3A%2F%2Fhorde.morcy-city
.com%2Flogin.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"

I have another problem: my imap users are authentificating by a mysql
database, and their usernames are stored with the '@mydomain1.com'.
how can horde automaticaly detect the domain name of the users to
authentificate them, depending on the virtualhost from where they are trying
to authenticate.

Sorry for my english!!! ;-)

And thanks a lot in advanced for your answers.

Tony




More information about the horde mailing list