Bug 2690

Summary: HTTP install: double slashes in URL after web server name
Product: [Retired] Red Hat Linux Reporter: Radoslav Bendik <bendik>
Component: installerAssignee: Matt Wilson <msw>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-15 22:21:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radoslav Bendik 1999-05-09 22:23:33 UTC
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 20:35:59 UTC
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 22:21:59 UTC
will be fixed on next installer release.