httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23259] New: - mod_alias does not redirect aliased URLs correctly in SSL servers
Date Thu, 18 Sep 2003 18:14:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23259>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23259

mod_alias does not redirect aliased URLs correctly in SSL servers

           Summary: mod_alias does not redirect aliased URLs correctly in
                    SSL servers
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other mods
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mdobel@kawo2.rwth-aachen.de


I have a apache server set up to serve the same content to HTTP and 
HTTPS-requests.

There are several "departments" having their content on this server, some of 
them having a public and an internal area. Something like this:

  Alias /ba /home/ba/public_html
  Alias /intern/ba home/ba/private_html
  Alias /tel /home/tel/public_html
  Alias /intern/tel /home/tel/private_html

It works as expected in a non-SSL environment. When opening the URL
  http://my.server/ba
Apache automatically redirects me to 
  http://my.server/ba/
and opens any index-page it finds there.

doing the same in an SSL Server seems to return garbage, when omitting the 
trailing slash in the browser URL line.

Requesting 
  https://my.server/ba/
works, while
  https://my.server/ba
does not redirect me correctly, but the browser displays me an error 
message, variing from browser to browser.

IE: the usual unhelpful "Server or DNS not found"
Opera/Win32: "Access to this port is disabled for security reasons"
Mozilla/Win32: "The connection to my.server:80 has terminated unexpectedly.
                Some data may have been transfered."

The last error message seems to point in the right direction. I've been 
redirected to "my.server:80", which is the non-SSL-port.

When entering a *non-aliased* https-URL without the trailing slash, the redirect
works as expected, only when using aliases, something breaks.

Apparently the "adding-the-trailing-slash"-redirect does not work correctly
on aliased URLs on HTTPs-servers.

Used Software:
"Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux" on Debian Woody
on a Xeon platform.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message