Article View: best.migration
Article #15Watch out for directory URLs without trailing slash.
From: Joe Smith
Date: Sun, 21 Oct 2001 17:26
Date: Sun, 21 Oct 2001 17:26
21 lines
1880 bytes
1880 bytes
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.
Warning: Check you own links. Put trailing slashes on all HREFs that
point to directories.
-Joe
--
See http://www.inwap.com/ for PDP-10 and "ReBoot" pages.
Technical Details
Message-ID:
<9qv0gg$1sug$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!inwapShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9f6d,dab64f691ab939d4,start X-Google-Attributes: gidf9f6d,public X-Google-Thread: 11488e,dab64f691ab939d4,start X-Google-Attributes: gid11488e,public X-Google-Thread: fdc27,dab64f691ab939d4,start X-Google-Attributes: gidfdc27,public X-Google-ArrivalTime: 2001-10-21 10:26:45 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!inwap From: inwap@best.com (Joe Smith) Newsgroups: best.migration,best.www,best.general Subject: Watch out for directory URLs without trailing slash. Date: Sun, 21 Oct 2001 17:26:40 +0000 (UTC) Organization: Chez Inwap Lines: 21 Distribution: best Message-ID: <9qv0gg$1sug$1@nntp1.ba.best.com> NNTP-Posting-Host: shell3.ba.best.com X-Trace: nntp1.ba.best.com 1003685200 62416 206.184.139.134 (21 Oct 2001 17:26:40 GMT) X-Complaints-To: abuse@best.com NNTP-Posting-Date: Sun, 21 Oct 2001 17:26:40 +0000 (UTC)