🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1473

Re: Simple CGI-question: URL in generated HTML-page

#1473
From: Hans Galema
Date: Thu, 20 Jan 2005 15:08
23 lines
1563 bytes
yeti wrote:

> However, lately I tried to add to this HTML-page a (static)
> user-selectable URL, as a means to redirect to another
> location (e.g. www.borland.com);  when used from the
> web-browser the redirection is incorrect; it seems
> to try to access an executable in the CGI-server-
> -directory instead.
> 
> I did not manage to find the correct tag to use
> for this case. I tried some variations of "href='.

Well you omitted the variations in the reference.

Apparently you have something like:

	href="www.borland.com"

But you have to use:

	href="http://www.borland.com"

Hans.
Technical Details
Message-ID: <41efc99f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41efc7fa$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,500b22708c9ef243
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 20 Jan 2005 16:08:19 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: Simple CGI-question:  URL in generated HTML-page
References: <41efc7fa$1@newsgroups.borland.com>
In-Reply-To: <41efc7fa$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41efc99f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106233759 129.125.201.248 (20 Jan 2005 07:09:19 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail