www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Tutubalin <l...@lexa.ru>
Subject general/2411: port in URL not preserved when request come to http://some.server:port/somedir
Date Thu, 11 Jun 1998 08:22:18 GMT

>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:     lexa@lexa.ru
>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 <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message