www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Signes <petroko...@yahoo.com>
Subject general/6892: apache drops port number on URL rewrite despite UseCanonicalName = Off
Date Sun, 26 Nov 2000 22:55:20 GMT

>Number:         6892
>Category:       general
>Synopsis:       apache drops port number on URL rewrite despite UseCanonicalName = Off
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Nov 26 15:00:01 PST 2000
>Originator:     petrokoles@yahoo.com
>Release:        unix 1.3.14
Linux ignatius 2.2.17 #5 Fri Oct 6 18:01:46 EDT 2000 i586 unknown
running apache 1.3.14 as distributed by Slackware
I have a LAN in which one machine is connected to world via DSL; it masquerades for the machines
behind it.  Both this machine (pete) and a machine behind its fw (ignatius) run apache.  Pete
port forwards pete:8080 to ignatius:80 so I can access ignatius' httpd when at work.  I disabled
UseCanonicalName, to prevent the 8080 from being dropped and to prevent rpg-theory.org from
being replaced with ignatius.rpg-theory.org

This works fine, except for the following case:
  while http://rpg-theory.org:8080/~samael/  works,
  http://rpg-theory.org:8080/~samael does not
(note the lack of trailing / on the broken URL)

In the latter case, the port number is dropped and all manner of browser (lynx, MSIE, NS4-6,
Opera) attempt to retrieve http://rpg-theory.org/~samael/

I understand that the / is required by spec, but tradition allows it to be dropped.  This
seems to be a problem with the implementation of UseCanonicalName, perhaps?
URLs included in description.

 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message