[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined subroutine: get_server_description, get_server_banner


Quoting Jeff Armstrong <suppressed>:

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();
  Apache2::ServerUtil::get_server_banner();

warn => Undefined subroutine


Those functions were added in 2.0.4, which is currently in RC, as the docs indicate. If you install the 2.0.4 RC1 (see: http://marc.info/?l=apache-modperl&m=120760945808543&w=2)

and
  Apache2::ServerUtil->user_id;
  Apache2::ServerUtil->group_id;

warn => Can't locate object method


Those functions were added in 2.0.3, as the docs indicate. If you upgrade to 2.0.3, they should work.

Adam





Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.