mod_perl logo
perl icon







previous page: Apache::RequestUtil -- Methods for work with Apache::Request objectpage up: mod_perl APIsnext page: Apache::SubProcess -- Executing SubProcesses from mod_perl


Apache::ServerUtil -- Methods for work with Apache::Server object











The mod_perl Developer's Cookbook

The mod_perl Developer's Cookbook

By Geoffrey Young, Paul Lindner, Randy Kobes
mod_perl Pocket Reference

mod_perl Pocket Reference

By Andrew Ford
Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

By Lincoln Stein, Doug MacEachern


Table of Contents

SYNOPSIS

  use Apache::ServerUtil;
  
  $s = Apache->server;
  my $srv_cfg = $s->dir_config;
  # get 'conf/' dir path using $r
  my $conf_dir = Apache::server_root_relative('conf', $r->pool);
  # get 'log/' dir path using default server startup pool
  my $log_dir = Apache::server_root_relative('log');


TOP

DESCRIPTION

Apache::ServerUtil provides the Perl API for Apache server object.

META: complete



TOP

API

Function arguments (if any) and return values are shown in the function's synopsis.



TOP

CONSTANTS



TOP

FUNCTIONS



TOP

METHODS







TOP
previous page: Apache::RequestUtil -- Methods for work with Apache::Request objectpage up: mod_perl APIsnext page: Apache::SubProcess -- Executing SubProcesses from mod_perl