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











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
Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams


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