[imp] IMP 3.0 can't be made as root of web server

James james@james-web.net
Sat, 2 Mar 2002 21:47:00 -0500


I just cheated and made /var/www/index.php redirect to horde/index.php.

In /var/www/index.php I did:

<?php

header("Location: http://mail.mysite.org/horde/");

?>

- James

> -----Original Message-----
> From: Jason Kau [mailto:jkau@jasper.k12.ga.us] 
> Sent: Saturday, March 02, 2002 9:35 PM
> To: imp@lists.horde.org
> Subject: [imp] IMP 3.0 can't be made as root of web server
> 
> 
> I would to make IMP 3.0 the document root of our web server such that:
> 
> http://mail.jasper.k12.ga.us
> 
> gets you to the IMP 3.0 login screen.  I thought this was be 
> as simple as 
> changing these three things:
> 
> 1) Chaning DocumentRoot in httpd.conf to "/var/www/html/horde/imp"
> 2) Adding "Alias /horde/ /var/www/html/horde/"  in httpd.conf
> 3) Changing the webroot for IMP in horde/config/registry.php to:  
>    'webroot'   => ''
> 
> That appears to work fine except for one thing: when someone 
> goes to the 
> Addressbook and then tries to click on the "Mail" 
> icon/hyperlink to go back 
> to their current mailbox, they are dumped into the IMP login screen 
> instead! 
> 
> The only thing that has changed is that "Mail" to longer links to 
> http://mail.jasper.k12.ga.us/horde/imp.  It now links to 
> http://mail.jasper.k12.ga.us which seems correct.
> 
> Is there any to make IMP the document root of the web server without 
> breaking the going back and forth between Turba and IMP?
> 
> Thanks.
> 
> -- 
> Jason Kau
> Consultant
> Jasper County Schools
> Monticello, GA
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 



>From jkau@jasper.k12.ga.us Date: Sat,  2 Mar 2002 21:46:28 -0500
Return-Path: <jkau@jasper.k12.ga.us>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 36886 invoked from network); 3 Mar 2002 02:51:51 -0000
Received: from mail.jasper.k12.ga.us (168.8.128.131)
  by clark.horde.org with SMTP; 3 Mar 2002 02:51:51 -0000
Received: (from root@localhost)
	by mail.jasper.k12.ga.us (8.11.6/8.11.6) id g232kTD03428
	for imp@lists.horde.org; Sat, 2 Mar 2002 21:46:29 -0500
Received: (from apache@localhost)
	by mail.jasper.k12.ga.us (8.11.6/8.11.6) id g232kSj03420
	for imp@lists.horde.org; Sat, 2 Mar 2002 21:46:28 -0500
Received: from 64.128.243.61 ( [64.128.243.61])
	as user jkau@mail.jasper.k12.ga.us by mail.jasper.k12.ga.us with HTTP;
	Sat,  2 Mar 2002 21:46:28 -0500
Message-ID: <1015123588.3c818e845ec2b@mail.jasper.k12.ga.us>
Date: Sat,  2 Mar 2002 21:46:28 -0500
From: Jason Kau <jkau@jasper.k12.ga.us>
To: imp@lists.horde.org
References: <1015122899.3c818bd325e59@mail.jasper.k12.ga.us> <1015123355.3c818d9b419da@marina.horde.org>
In-Reply-To: <1015123355.3c818d9b419da@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.0
X-Originating-IP: 64.128.243.61
X-Virus-Scanned: by AMaViS + NAI ViruScan
Subject: Re: [imp] IMP 3.0 can't be made as root of web server

Quoting Chuck Hagenbuch <chuck@horde.org>:
> You need to set cookie_path in horde/config/registry.php appropriately.
> 
> -chuck

Which in my case I assume is:

'cookie_path' => ''

Just tried it and that seems to work!  Thanks Chuck!  That was an 
unbelievably fast response.  w0w!

-- 
Jason Kau
Consultant
Jasper County Schools
Monticello, GA