[imp] Apache/IMP httpd.conf help?

Rick Compton r_c_compton@yahoo.com
Sun, 07 Apr 2002 15:34:48 -0700


Thank you for your replies Jan and Henry;

The following now works like a charm:

My httpd.conf is now configured as

Alias /horde/ "/var/www/html/horde/"
#added the following line
Alias /imp/ "/var/www/html/horde/imp" 

# Virtual host mail
<VirtualHost xx.xx.xx.xx>
 	DocumentRoot /var/www/html/horde/imp/ 
 	ServerName mail.my-company.com
 	ServerSignature email	
	DirectoryIndex index.php
	Options None
</VirtualHost>


and

config/registry.php

$this->applications['imp'] = array(
    'fileroot' => dirname(__FILE__) . '/../imp',
#before
    'webroot' => $this->applications['horde']['webroot'] . '/imp',
#after
    'webroot' => '/imp',
    'icon' => '/horde/imp/graphics/imp.gif',
    'name' => _("Mail"),
    'allow_guests' => true,
    'show' => true
)

Alias /horde/ "/var/www/html/horde/"
-----Original Message-----
From: Jan Schneider [mailto:jan@horde.org]
Sent: Sunday, April 07, 2002 2:14 PM
To: imp@lists.horde.org
Subject: Re: [imp] Apache/IMP httpd.conf help?


Zitat von Rick Compton <r_c_compton@yahoo.com>:

> http://mail.my-company.com/horde/imp/login.php
> 
> Is there a way to tidy it up by removing the /horde/imp/ so the address
> appears more simply as
> 
> http://mail.my-company.com/login.php

> I am not sure why this doesn't work because from this
> 
> http://mail.my-company.com/horde/imp/login.php
> 
> should equal
> 
> /var/www/html/horde/imp/horde/imp/login.php

you also need to change the path names accordingly in config/registry.php.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

-- 
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 chuck@horde.org Date: Sun,  7 Apr 2002 19:38:39 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 27572 invoked from network); 7 Apr 2002 23:39:02 -0000
Received: from h00104bc60b3c.ne.client2.attbi.com (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 7 Apr 2002 23:39:02 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 249933CBA; Sun,  7 Apr 2002 19:38:40 -0400 (EDT)
Received: from 192.168.0.140 ( [192.168.0.140])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sun,  7 Apr 2002 19:38:39 -0400
Message-ID: <1018222719.3cb0d87fe5201@marina.horde.org>
Date: Sun,  7 Apr 2002 19:38:39 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="-MOQ1018222719ed9a563cfb11a70f71fd643566785e5d"
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Fwd: Horde/IMP

---MOQ1018222719ed9a563cfb11a70f71fd643566785e5d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit



----- Forwarded message from "Ralf Siebert (it works GmbH)" 
<itworks@web.de> -----
    Date: Sun, 7 Apr 2002 23:35:48 +0200
    From: "Ralf Siebert (it works GmbH)" <itworks@web.de>
Reply-To: "Ralf Siebert (it works GmbH)" <itworks@web.de>
 Subject: Horde/IMP
      To: consulting@horde.org

Hello,

I have installed Hode and IMP on a Linux Based system. I can't use the 
Mail Cliente so the Session will exquired if I log in to the Client. What 
is going wrong? The other Stuff is, How I can Manage the Users in Hode?

Feel free to have a look to the Test PHP Script on my Server http://piazza-
uno.itworks.de/horde/test.php I hope you can give me some Tipps to solve 
the Problems.


Best Regards,
  Ralf Siebert


it works GmbH
Westermuehlstrasse 26
D-80469 Muenchen

Fon +49 (0)89 18 910 555
Fax +49 (0)89 18 910 553
Web http://itworks.de/

----- End forwarded message -----


-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan
---MOQ1018222719ed9a563cfb11a70f71fd643566785e5d--


>From chuck@horde.org Date: Sun,  7 Apr 2002 19:43:17 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 28685 invoked from network); 7 Apr 2002 23:43:40 -0000
Received: from h00104bc60b3c.ne.client2.attbi.com (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 7 Apr 2002 23:43:40 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id D166B3CBA; Sun,  7 Apr 2002 19:43:17 -0400 (EDT)
Received: from 192.168.0.140 ( [192.168.0.140])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sun,  7 Apr 2002 19:43:17 -0400
Message-ID: <1018222997.3cb0d995a215b@marina.horde.org>
Date: Sun,  7 Apr 2002 19:43:17 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <3CADBD60.6030603@oit.gatech.edu>
In-Reply-To: <3CADBD60.6030603@oit.gatech.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [imp] question about a multipart mixed MIME message

Quoting Adam Arrowood <adam@oit.gatech.edu>:

> What I'm seeing happen on my installations of both imp 3.0 and imp 
> 3.1RC1 is that one of the alternative parts shows up (depending on if I
> have inline html enabled) but *no* attachment. When viewed on our IMP 
> 2.2 installation, the attachment shows up.

Works fine here.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan


>From chuck@horde.org Date: Sun,  7 Apr 2002 20:08:48 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 30545 invoked from network); 8 Apr 2002 00:09:10 -0000
Received: from h00104bc60b3c.ne.client2.attbi.com (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 8 Apr 2002 00:09:10 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id BE34A3CCA; Sun,  7 Apr 2002 20:08:48 -0400 (EDT)
Received: from 192.168.0.140 ( [192.168.0.140])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sun,  7 Apr 2002 20:08:48 -0400
Message-ID: <1018224528.3cb0df90925e0@marina.horde.org>
Date: Sun,  7 Apr 2002 20:08:48 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <1017853241.3cab35391adc0@mail.ph.utexas.edu> <1017943914.3cac976a39a51@marina.horde.org> <1017957210.3caccb5acf866@mail.ph.utexas.edu>
In-Reply-To: <1017957210.3caccb5acf866@mail.ph.utexas.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [imp] text/enriched viewer

Quoting Eric Rostetter <eric.rostetter@physics.utexas.edu>:

> You completely broke it ;)  Sorry.  It wouldn't parse the example
> in the RFC anywhere near correctly.  Nor the emails I have...

Woops. :) To be honest, I haven't read the RFC; I just made it handle the 
one example I have. Also ...

You broke it too: ;)

> Also, your code messed with the case of << (or in the html page
> &lt;&lt;) so I've put a stupid test in for that.  Basically each
> ereg_replace now looks for a non-&lt; before the &lt; -- Yeah, this
> is a stupid way to do it, but it works for now, and I'm hoping someone
> can tell me a better way to do it (maybe keeping the chr(1) encoding
> for a longer time, converting it back after the tags are all done???)

The character class you used for this was just that, so the regexps 
wouldn't match anything that was preceded by either a &, l, t, or ;. That 
last one is rather problematic for nested tags. :)

I used a lookbehind assertion instead, and that seems to work just fine. 
Try what I committed this time. :)

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan