Bas Schulte wrote: > Hi, > > I sort of hoped I could simply get it directly from the Apache request > object but apparently, I can't.
of course you can? if Apache knows it at all you can get to it from mod_perl :) see recipe 5.3 in the mod_perl developer's cookbook for the full explanation of the differences between Apache::URI::parse() and $r->parsed_uri(), but you probably want something like this (assuming you were using mod_perl 1.0) my $uri = Apache::URI->parse($r); my $scheme = $uri->scheme; my $port = $uri->port; etc. HTH --Geoff