🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: best.migration
Article #16

Re: Watch out for directory URLs without trailing slash.

#16
From: Larry Sherman
Date: Sun, 21 Oct 2001 19:11
23 lines
2156 bytes
In best.general Joe Smith <inwap@best.com> wrote:
> The version of Apache running on the new web servers has a bug.

> HTTP_HOST = inwap.best.vwh.net
> SERVER_NAME = inwap.com
> SERVER_SIGNATURE = "Apache/1.3.19 Ben-SSL/1.42 Server at inwap.com Port 80"
>
> If you enter a directory URL that is lacking a trailing slash
> (like http://inwap.best.vwh.net/u/joe), the web server send back a
> response redirecting the browser to the correct URL.  Unfortunately it
> is sending "http://inwap.com:80/u/joe/" instead of
> "http://inwap.best.vwh.net/u/joe/".  That is, $SERVER_NAME is set
> to `uname -n` instead of $ENV{HTTP_HOST}.
>
> Currently, "inwap.com" points to my old dialup static IP address, not
> a web server.

Your account is not migrated yet. It is only copied to the new machine.
When the migration is completed, DNS will be modified so that both
'inwap.com' and 'www.inwap.com' will resolve to the same IP as
inwap.best.vwh.net.

-- Larry
Technical Details
Message-ID: <9qv6kv$1t5t$1@nntp1.ba.best.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!news1.best.com!nntp1.ba.best.com!not-for-mail
References: <9qv0gg$1sug$1@nntp1.ba.best.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9f6d,dab64f691ab939d4
X-Google-Attributes: gidf9f6d,public
X-Google-Thread: fdc27,dab64f691ab939d4
X-Google-Attributes: gidfdc27,public
X-Google-Thread: 11488e,dab64f691ab939d4
X-Google-Attributes: gid11488e,public
X-Google-ArrivalTime: 2001-10-21 12:11:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!news1.best.com!nntp1.ba.best.com!not-for-mail
From: Larry Sherman <larrysh@best.net>
Newsgroups: best.migration,best.www,best.general
Subject: Re: Watch out for directory URLs without trailing slash.
Date: Sun, 21 Oct 2001 19:11:28 +0000 (UTC)
Organization: Best Internet
Lines: 24
Distribution: best
Message-ID: <9qv6kv$1t5t$1@nntp1.ba.best.com>
References: <9qv0gg$1sug$1@nntp1.ba.best.com>
NNTP-Posting-Host: flea.best.net
X-Trace: nntp1.ba.best.com 1003691488 62653 206.184.139.131 (21 Oct 2001 19:11:28 GMT)
X-Complaints-To: abuse@best.com
NNTP-Posting-Date: Sun, 21 Oct 2001 19:11:28 +0000 (UTC)
User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/2.2.8-STABLE (i386))