ServerType standalone

ServerRoot "/www"

PidFile /www/logs/httpd.pid
ScoreBoardFile /www/logs/httpd.scoreboard
Timeout 300

KeepAlive Off

MaxKeepAliveRequests 100

KeepAliveTimeout 15

MinSpareServers 5

MaxSpareServers 10

StartServers 10

MaxClients 90

MaxRequestsPerChild 250

ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_setenvif.c
AddModule mod_perl.c

Port 80

User nobody
Group nobody

ServerAdmin webmaster@localhost

ServerName *

DocumentRoot "/www/htdocs"

UseCanonicalName Off

<IfModule mod_mime.c>
    TypesConfig /www/conf/mime.types
</IfModule>

DefaultType text/plain

<IfModule mod_mime_magic.c>
    MIMEMagicFile /www/conf/magic
</IfModule>

HostnameLookups Off

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %v" combined

CustomLog logs/combined_access_log combined
ErrorLog logs/error_log

LogLevel debug

PerlModule Apache::Filter
PerlModule Apache::Dynagzip
PerlModule Apache::Compress

<Directory />
	Options FollowSymLinks
	Order allow,deny
	Allow from all
</Directory>

<Directory "/www/cgi-bin">
	SetHandler perl-script
	PerlHandler Apache::RegistryFilter Apache::Dynagzip
	PerlSetVar Filter On
	PerlSendHeader Off
	PerlSetupEnv On
	AllowOverride AuthConfig
	Options +ExecCGI
</Directory>

ScriptAlias /cgi-bin/ /www/cgi-bin/

AddHandler cgi-script .cgi .pl
