mod_perl logo
perl icon







previous page: Apache::PerlSections - Utilities for work with Perl sectionspage up: mod_perl APInext page: Apache::Status - Embedded interpreter status information


Apache::httpd_conf - Generate an httpd.conf file











Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet
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


Table of Contents

Synopsis

  use Apache::httpd_conf ();
  
  Apache::httpd_conf->write(Port => 8888);


TOP

Description

The Apache::httpd_conf module will generate a tiny httpd.conf file, which pulls itself back in via a <Perl> section.

Any additional arguments passed to the write method will be added to the generated httpd.conf file, and will override those defaults set in the <Perl> section. This module is handy mostly for starting httpd servers to test mod_perl scripts and modules.



TOP

Author

Doug MacEachern



TOP

See Also

mod_perl, Apache::PerlSections







TOP
previous page: Apache::PerlSections - Utilities for work with Perl sectionspage up: mod_perl APInext page: Apache::Status - Embedded interpreter status information