Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 2690 - HTTP install: double slashes in URL after web server name
HTTP install: double slashes in URL after web server name
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Matt Wilson
Depends On:
  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:
Last Closed: 1999-07-15 18:21:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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",
   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.