Comment 9 for bug 8132

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <004c01c49d25$6d5dc870$0400000a@0c3.net>
Date: Sat, 18 Sep 2004 12:15:51 +1000
From: "Adam Conrad" <adconrad@0c3.net>
To: "'Thibaut VARENE'" <email address hidden>
Cc: <email address hidden>
Subject: RE: Bug#271912: apache2 does not set request_rec->server->port

reassign 271912 libapache2-mod-musicindex
thanks

Thibaut VARENE wrote:
>=20
> I tried downgrade to 0.99.2, it didn't fix the problem. It looks like
a
> bug in apache2, which no longer sets request_rec->server->port, making
> the following piece of code both fail and misbehave:

No, if there is no "Port" directive in the conf, r->server->port is set
to 0, libapache-mod-musicindex should be using ap_get_server_port()
instead of the r->server struct. Note that this should work in both 1.3
and 2.0.

... Adam