* Christian Kruse wrote:
> I've got a little question: is it possible to get the port from which
> the actual request came? I'm asking for Apache 1.3.x and Apache 2.x.
> Answers would be nice...
If you wanna take care of the UseCanonicalName setting, you just may use
ap_get_server_port. If you want to get a more specific results, simply
look into that function.
ap_get_server_port is defined in src/main/http_core.c (1.3) and
server/core.c (2.0)
HTH, nd
--
package Hacker::Perl::Another::Just;print
qq~@{[reverse split/::/ =>__PACKAGE__]}~;
# Andr� Malo # http://www.perlig.de #