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

Apache::httpd_conf - Generate an httpd.conf file






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

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams
mod_perl2 User's Guide

mod_perl2 User's Guide

By Stas Bekman, Jim Brandt
Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet


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 1.0 APInext page: Apache::Status - Embedded interpreter status information