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 39240] New: - mod_dir does not respect the protocol
Date Fri, 07 Apr 2006 15:55:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39240

           Summary: mod_dir does not respect the protocol
           Product: Apache httpd-2
           Version: 2.0.55
          Platform: Other
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: minor
          Priority: P5
         Component: mod_dir
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: franetic@gmx.de


Having a virtual site listening on both ports 80 and 443 (with mod_ssl).
Apache issues a redirection "HTTP/1.1 301 Moved Permanently" upon the 
request "http://server.domain.tld/dirname" (w/o trailing slash) 
to "https://server.domain.tld/dirname/" (w/ trailing slash), and not to the 
expected one "http://server.domain.tld/dirname/"

The same happens with the ServerAlias "server".
It does not occur when requesting with https://

Separating the virt.site into two virt. sites solves the problem of course.

Might be it is not an intended behaviour.


Reproducing:
- "dirname" is an existent dir under "c:/docroot/server"
- default apache config:
Listen 80
Listen 443
#etc.
LoadModule dir_module modules/mod_dir.so
LoadModule dir_module modules/mod_ssl.so
#etc.
NameVirtualHost *:80
#etc.

<VirtualHost *:80 _default_:443>
    DocumentRoot c:/docroot/server
    ServerName server.domain.tld
    ServerAlias server

    #Enable SSL
    SSLEngine on
    #etc...
</VirtualHost>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message