>Number:         2411
>Category:       general
>Synopsis:       port in URL not preserved when request come to 
>http://some.server:port/somedir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jun 11 01:30:00 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.0
>Environment:
FreeBSD 2.2.6-RELEASE, gcc 2.7.2
>Description:
When several 'Listen port' directives are present in config file
and request to /somedir (without trailing slash) comes to non-default
port, mod_dir issues a redirect to http://server:default_port/somedir/

>How-To-Repeat:
Just add
Listen 80
Listen 81
into httpd.conf and try to access http://yourserver:81/somedir
You'll redirected to http://yourserver:80/somedir/
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to