https://issues.apache.org/bugzilla/show_bug.cgi?id=54580
Bug ID: 54580
Summary: Redirect error with FQDN and directory seperation
Product: Apache httpd-2
Version: 2.2.23
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: All
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
There is a bug in Apache where Apache does not provide the correct redirect
URL.
On my web server, I have the following redirect setting for HTTP requests:
'Redirect / https://nikolaskallis.com'
This works fine when someone visits 'http://nikolaskallis.com', as Apache
redirects the client to 'https://nikolaskallis.com', however, when someone
visits 'http://nikolaskallis.com/contact/', then Apache redirects the client to
'https://nikolaskallis.comcontact/'.
Apache fails to separate the 'contact' directory with the FQDN.
What needs to happen is for Apache to check if there is a forward-slash at the
end of the URL specified in the redirect setting, and if there isn't one, to
then add a forward-slash before the directory.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]