Bug 1324416

Summary: Error 404 when switching language in HTML manual more than once
Product: Red Hat Enterprise Linux 7 Reporter: Martin Frodl <mfrodl>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Jan Houska <jhouska>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: isenfeld, jhouska, jorton
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: httpd-2.4.6-57.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1324406 Environment:
Last Closed: 2017-08-01 21:36:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Frodl 2016-04-06 09:39:20 UTC
+++ This bug was initially created as a clone of Bug #1324406 +++

Description of problem:
When trying to switch the language of HTML manual pages more than once, the result is always 'Not Found'. Specifically, clicking e.g. the 'fr' link for the first time redirects user to the '/fr' namespace within which all subsequent links will be interpreted. When a language link is clicked again now, user is redirected to a page within, say, the /fr/en namespace, rather than switching to /en. Since /fr/en or any analogous directories do not exist on the server, a 'Not Found' error is returned.

Version-Release number of selected component (if applicable):
httpd-manual-2.4.6-40.el7.noarch

How reproducible:
Well.

Steps to Reproduce:
1. yum -y install httpd httpd-manual
2. service httpd start
3. In browser, go to http://localhost/manual/
4. Click one of the 'Available Languages', e.g. 'fr'
5. Click one of the 'Available Languages', e.g. 'en'

Actual results:
Goes to http://localhost/manual/fr/en/, which does not exist.

Expected results:
Go to http://localhost/manual/en/.

Additional info:
This 'language cumulation' happens on any manual page, not just the main one.

Comment 7 errata-xmlrpc 2017-08-01 21:36:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2175