ServerName 127.0.0.1
ServerTokens Prod
ServerRoot "/etc/httpd"
ServerAdmin root@localhost
PidFile /tmp/httpd.pid
Timeout 60
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15
StartServers ${HTTPD_StartServers}
MinSpareServers ${HTTPD_MinSpareServers}
MaxSpareServers ${HTTPD_MaxSpareServers}
ServerLimit ${HTTPD_ServerLimit}
MaxClients ${HTTPD_MaxClients}
MaxRequestsPerChild ${HTTPD_MaxRequestsPerChild}
Listen ${PORT}
User app
Group app
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule perl_module modules/mod_perl.so
UseCanonicalName Off
Options FollowSymLinks
AllowOverride None
AccessFileName .htaccess
Order allow,deny
Deny from all
Satisfy All
TypesConfig /etc/mime.types
DefaultType text/plain
MIMEMagicFile conf/magic
HostnameLookups Off
ErrorLog "|/usr/bin/nc localhost ${LOGGING_PORT}"
TransferLog "|/usr/bin/nc localhost ${LOGGING_PORT}"
ErrorLog /dev/stderr
TransferLog /dev/stdout
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ServerSignature Off
AddDefaultCharset UTF-8
Include /app/conf/env.conf
PerlSwitches -wT
PerlRequire /app/mod_perl.pl
DirectoryIndex index.cgi
DocumentRoot "/app"
Alias "/bmo" "/app"
SetEnv HTTPS on
Options -Indexes -FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all