Non DNSd hostname being used for refresh tag.

Richard Green richard@rdgreen.co.uk
Mon, 07 Jan 2002 09:21:07 +0000


Hi folks,

I spent several hours trawling through the FAQs and other mailing lists
before posting, but I couldn't find a similar problem to this one. I thought
about starting to hack about with the code, but then I thought there may be
a simple switch for this. Anyway, here we go..

I have a linux machine running on my home network whos name (
gw1.rdgreen.co.uk ) does not get published to any external DNS authorities.
I use the excellent (and may I congratulate all of your contributors for the
app ) horde / imp installation so that I can access my email from anywhere
by port mapping 80 from the firewall to this machine. My problem is this :

If I run imp on a webclient on the machine, then it works fine. If I try
running the web client from any other machine, it tries to "refresh" using
the fully qualified domain name. Now this isn't really a problem if I'm
located in my network, but it IS a problem if I'm say in a web cafe.

Is there a simple way of removing the hostname from the refresh tags ? i.e.
a way of changing the standard tag from :

<input type="hidden" name = "redirect_url" value =Non DNSd hostname being
used for refresh tag.
"https://gw1.rdgreen.co.uk/horde/login.php">

for the value just to read
<"/horde/login.php">

Would I loose the https bit if this happened ? What would be a way to read
the servername from the browser and replace that in there ?

Do I make sense ?!!

Cheers in advance,

Richard.





>From jan@horde.org Date: Mon,  7 Jan 2002 10:40:19 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 93109 invoked from network); 7 Jan 2002 09:41:08 -0000
Received: from mailout10.sul.t-online.com (194.25.134.21)
  by clark.horde.org with SMTP; 7 Jan 2002 09:41:08 -0000
Received: from fwd08.sul.t-online.de 
	by mailout10.sul.t-online.de with smtp 
	id 16NWHC-0001t8-02; Mon, 07 Jan 2002 10:41:06 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.46.107]) by fmrl08.sul.t-online.com
	with esmtp id 16NWH1-02K5cuC; Mon, 7 Jan 2002 10:40:55 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g079eK910955
	for <imp@lists.horde.org>; Mon, 7 Jan 2002 10:40:20 +0100
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Mon,  7 Jan 2002 10:40:19 +0100
Message-ID: <1010396419.3c396d03e7b57@jan.dip.ammma.net>
Date: Mon,  7 Jan 2002 10:40:19 +0100
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <B85F1903.51B%richard@rdgreen.co.uk>
In-Reply-To: <B85F1903.51B%richard@rdgreen.co.uk>
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
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] Non DNSd hostname being used for refresh tag.

Zitat von Richard Green <richard@rdgreen.co.uk>:

> 
> Hi folks,
> 
> I spent several hours trawling through the FAQs and other mailing lists
> before posting, but I couldn't find a similar problem to this one. I
> thought
> about starting to hack about with the code, but then I thought there may
> be
> a simple switch for this. Anyway, here we go..

It is indeed. Check the cookie_domain, sever_name and server_port entries 
in registry.php.
 
> I have a linux machine running on my home network whos name (
> gw1.rdgreen.co.uk ) does not get published to any external DNS
> authorities.
> I use the excellent (and may I congratulate all of your contributors for
> the
> app ) horde / imp installation so that I can access my email from
> anywhere
> by port mapping 80 from the firewall to this machine. My problem is this
> :
> 
> If I run imp on a webclient on the machine, then it works fine. If I
> try
> running the web client from any other machine, it tries to "refresh"
> using
> the fully qualified domain name. Now this isn't really a problem if I'm
> located in my network, but it IS a problem if I'm say in a web cafe.
> 
> Is there a simple way of removing the hostname from the refresh tags ?
> i.e.
> a way of changing the standard tag from :
> 
> <input type="hidden" name = "redirect_url" value =Non DNSd hostname
> being
> used for refresh tag.
> "https://gw1.rdgreen.co.uk/horde/login.php">
> 
> for the value just to read
> <"/horde/login.php">
> 
> Would I loose the https bit if this happened ? What would be a way to

Yes, the certificate is bind to a hostname.

> read
> the servername from the browser and replace that in there ?

Did you have "UseCanonicalNames On" set in your webserver config - assuming 
you have Apache.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::


>From jan@horde.org Date: Mon,  7 Jan 2002 10:43:45 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 94334 invoked from network); 7 Jan 2002 09:51:00 -0000
Received: from mailout05.sul.t-online.com (194.25.134.82)
  by clark.horde.org with SMTP; 7 Jan 2002 09:51:00 -0000
Received: from fwd09.sul.t-online.de 
	by mailout05.sul.t-online.de with smtp 
	id 16NWQl-0000Ml-08; Mon, 07 Jan 2002 10:50:59 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.46.107]) by fmrl09.sul.t-online.com
	with esmtp id 16NWQi-1AoexcC; Mon, 7 Jan 2002 10:50:56 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g079hj910969
	for <imp@lists.horde.org>; Mon, 7 Jan 2002 10:43:45 +0100
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Mon,  7 Jan 2002 10:43:44 +0100
Message-ID: <1010396624.3c396dd104a89@jan.dip.ammma.net>
Date: Mon,  7 Jan 2002 10:43:45 +0100
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <002701c1971e$79e74fe0$25fde9d0@mikie> <1010391974.3c395ba6b1ff5@linux.wg.de> <00a601c19758$50d77be0$25fde9d0@mikie>
In-Reply-To: <00a601c19758$50d77be0$25fde9d0@mikie>
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
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] Can't run

Zitat von Webmaster <webmaster@4cheapdomains.net>:

> I had began that process (3.0) and ran into a world of trouble with
> Pear
> etc.... 3.0 has no simple way to install. 2.0 seems easier. Once 2.0

Hm, most people report 3.0 being easier to install, and now that the 
documentation is completed, it should be no great hassle.

> was
> going I was going to watch for a "Refined" install of 3.0 and then have
> at
> it. Is their not anyone that has any idea how I can defeat these
> errors:::
> With 3.0 it requires too many plugins what are not even widely
> supported
> with "major" systems. By this, I mean some of the modules I was coming
> across that needed installed were made by
> BillBobCountrySoftwareWriters.RUs
> and I don't even feel comfortable installing them because we know
> nothing
> about them....? Whereas 2.0 does not require "ALL" these plugins. At

What "plugins" do you talk about? PHP extensions? Why don't you trust the 
developers of PHP extensions, but the developers of PHP itself or us, the 
Horde developers?

> Pears
> site they don't even have ANY install docs or in their file.

PEAR gets installed together with PHP. If you want to install pear alone, 
check out http://horde.org/pear/

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::