undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff Armstrong
Folks, http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_get_server_description_ indicates that I should be able to: $description = Apache2::ServerUtil::get_server_description(); however, I find that Apache2::ServerUtil::get_server_description();

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff Armstrong
Folks, I am finding this frustrating - many of the documented functions do not appear to work, another example - I am trying to find the local IP and port of the connection - local_ip works, $r-connection-local_addr-port() does not, and $r-server-port() return 0. Has anyone already

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Malcolm
On Tuesday 08 April 2008 07:26:55 am Jeff Armstrong wrote: Folks, http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_get_server_d escription_ indicates that I should be able to: $description = Apache2::ServerUtil::get_server_description(); however, I find that

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Torsten Foertsch
On Tue 08 Apr 2008, Jeff Armstrong wrote: More specifically, I was also hoping to gain direct access to the SSL connection info for client certificate authentication - e.g. the stuff that appears in %ENV like:   SSL_CLIENT_S_DN_CN   SSL_CLIENT_S_DN_Email   SSL_CLIENT_S_DN Apache2::ModSSL on

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff
Did you remember to use Apache2::ServerUtil? It's probably obvious, but it's easy to miss sometimes - mod_perl doesn't pull in all the APIs automatically, just what you specify (to avoid memory overhead for things you don't use). Yes - I have already used Apache2::ServerUtil - other funcs are

Re: [mp2] HTML::Mason and Missing content

2008-04-08 Thread Robert Landrum
Felipe de Jesús Molina Bravo wrote: Hi how did you installed modperl ... static or dinamic? Dynamic... But I'm not getting segfaults. The issue was caused by having PerlSendHeader On. Switching it to off, the problem went away. Rob

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread adam . prime
Quoting Jeff Armstrong [EMAIL PROTECTED]: Folks, http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_get_server_description_ indicates that I should be able to: $description = Apache2::ServerUtil::get_server_description(); however, I find that