![]() |
![]() |
![]() |
||
|
|
||||
|
NAMEMATT::Apache - Install Apache 1 or 2 on FreeBSD
SYNOPSISBuilds a high performance statically compiled web server with SSL, PHP, and Perl support.
DESCRIPTIONA couple functions used to build Apache with all the dependencies and a few things I like such as: mm, gettext, libtool, p5-libwww, cronolog
InstallApache2use MATT::Apache; InstallApache2(); Builds Apache from sources with DSO for all modules. Also installs mod_perl2 and mod_php4. Currently tested on FreeBSD and Mac OS X. On FreeBSD, the lang/php4 version is installed. It installs both the PHP cli and mod_php4. This is done because the SpamAssassin + SQL module requires pear-DB and the pear-DB port thinks it needs the lang/php4 port installed. There are other ports which also have this requirement so it's best to just have it installed. This script also builds default SSL certificates, based on your preferences in openssl.cnf (usually in /etc/ssl) and makes a few tweaks to your httpd.conf (for using PHP & perl scripts).
InstallApache1use MATT::Apache;
Builds Apache from sources with DSO for all but mod_perl which must be compiled statically in order to work at all. Will build Apache in the directory as shown. After compile, the script will show you a few options for testing and completing the installation. Also installs mod_php4 and mod_ssl.
ApacheConfPatchPatch apache's default httpd.conf file. See the patch in contrib of Mail::Toaster to see what changes are being made.
InstallApacheSSLCertsBuilds and installs certificates in the locations that Apache expects them. This allows me to build a SSL enabled web server with a minimal amount of human interaction.
InstallDSACertBuilds and installs a DSA Certificate.
InstallRSACertBuilds and installs a RSA certificate.
use MATT::Apache;
InstallRSACert($crtdir, $keydir);
DependenciesMatt::Bundle - http://www.tnpi.biz/computing/perl/MATT-Bundle/
AUTHORMatt Simerson <matt@cadillac.net>
BUGSNone known. Report any to author.
TODODon't export any of the symbols by default. Move all symbols to EXPORT_OK and explicitely pull in the required ones in programs that need them.
SEE ALSOhttp://www.tnpi.biz/internet/www/ MATT::Apache, MATT::DNS, MATT::FreeBSD, MATT::Mysql, MATT::Passwd, MATT::Perl, MATT::Qmail, MATT::Quota MATT::SSL, MATT::Utility
COPYRIGHTCopyright 2003, The Network People, Inc. All Rights Reserved. |
|
||||||||||||||||||||||||||||