Bug 2690 - HTTP install: double slashes in URL after web server name
HTTP install: double slashes in URL after web server name
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
6.0
All Linux
low Severity low
: ---
: ---
Assigned To: Matt Wilson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-09 18:23 EDT by Radoslav Bendik
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-07-15 18:21:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Radoslav Bendik 1999-05-09 18:23:33 EDT
According to rhmanual (sec. 5.4) path to RedHat directory has to begin with slash.
But installer adds yet another slash between web server name and path (src/install/urlmethod.c:302), so this results to URL like "http://web.server.org//redhat-6.0/RedHat/" which can cause problems with some web servers (e.g. OSU but also Apache).
Apache returns "404 Not Found" for "//~user/" although "/~user/" is "200 OK". However "//directory/" is also OK (this is probably problem with Apache).

FIX (to RedHat)
write path to RedHat directory without beginning '/' (change the docs)
or in urlmethod.c change the line 302:
   sprintf(ui->urlprefix, "%s://%s/%s",
to:
   sprintf(ui->urlprefix, "%s://%s%s",
Comment 1 David Lawrence 1999-05-10 16:35:59 EDT
I have verified that the http strings does in fact get formatted as
reported which can cause confusion on some web servers.
Comment 2 Bill Nottingham 1999-07-15 18:21:59 EDT
will be fixed on next installer release.

Note You need to log in before you can comment on or make changes to this bug.