---
name: "Apache::httpd_conf"
section: "3pm"
platform: "linux"
package: "libapache-mod-perl"
version: "1.29.0.4-4.1+etch1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/Apache::httpd_conf"
---

# Apache::httpd\_conf(3pm)

Generate an httpd.conf file

## NAME

Apache::httpd\_conf - Generate an httpd.conf file

## SYNOPSIS

```
  use Apache::httpd_conf ();
```

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

## 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.

## AUTHOR

Doug MacEachern

## SEE ALSO

*mod\_perl*(3), *Apache::PerlSections*(3)
