www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Artuso <apa...@maggie.proxad.net>
Subject mod_status/6707: Wrong vhost in server-status when using VirtualDocumentRoot or Rewrite
Date Wed, 18 Oct 2000 14:49:14 GMT

>Number:         6707
>Category:       mod_status
>Synopsis:       Wrong vhost in server-status when using VirtualDocumentRoot or Rewrite
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          mistaken
>Submitter-Id:   apache
>Arrival-Date:   Wed Oct 18 07:50:01 PDT 2000
>Originator:     apache@maggie.proxad.net
>Release:        1.3.12
Uname -a :
Linux maggie 2.2.14 #1 Mon Jan 24 15:04:53 CET 2000 i686 unknown
using gcc 2.95 and 2.72
When using Rewrite or VirtualDocumentRoot to set up Mass Virtual Hosting,
the information given in the server-status does not reflect the real Host: from
the request of the client.
UseCanonicalName is correctly set to Off so Apache must use the hostname:port
that the client supplied and it also must put it in the scoreboard so the
server-status can provide the good information.
You can repeat it by using VirtualDocumentRoot to set up some virtual hosts and
by calling them (with a Host: header) and by dumping the server-status.
IMHO, you can modify server-status to query correctly the Host: as it was
entered. It means that, with the info in the scoreboard, you must be able to
to locate the connection object with the good Host: and display it.
 [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