Config-ApacheFormat

 view release on metacpan or  search on metacpan

t/large.conf  view on Meta::CPAN

AddModule mod_setenvif.c
AddModule mod_perl.c
AddModule apache_ssl.c
AddModule mod_p14.c
AddModule mod_headers.c
AddModule mod_expires.c
AddModule mod_proxy.c 
AddModule mod_status.c 
AddModule mod_arm.c 

LogLevel warn
ServerSignature Off
LogFormat "%{%Y-%m-%d%H:%M:%S}t%a%l%v%A%{Abuse}e%m%U%q%s0%b%{Content-Length}i%T%{User-Agent}i%{Cookie}i%{Referer}i" w3c_ext

CustomLog "| /usr/local/apache_ssl/bin/rotatelogs /usr/local/logs/httpd/extended.log 86400" w3c_ext

#ErrorLog "|/usr/local/apache_ssl/bin/rotatelogs /usr/local/apache_ssl/logs/error_log 86400"
ErrorLog "/usr/local/logs/httpd/error.log"

SSLDisable
#SSLEnable

SSLCacheServerPath /usr/local/apache_ssl/bin/gcache
SSLCacheServerPort logs/gcache_port
#SSLCacheServerPort 1234
SSLCacheServerRunDir /tmp
SSLSessionCacheTimeout 1500
#SSLCACertificatePath /usr/local/apache/conf
#SSLCertificateFile /usr/local/apache/ssl/cert.pem
#SSLCertificateKeyFile /usr/local/apache/ssl/private/key.pem

# Set SSLVerifyClient to:
# 0 if no certicate is required
# 1 if the client may present a valid certificate
# 2 if the client must present a valid certificate
# 3 if the client may present a valid certificate but it is not required to
#   have a valid CA
SSLVerifyClient 0

# How deeply to verify before deciding they don't have a valid certificate
SSLVerifyDepth 10
SSLBanCipher NULL-MD5:NULL-SHA

ExpiresActive on
ExpiresByType text/html A-3600
ExpiresDefault now

Header set PRAGMA no-cache
Header set Cache-control no-cache

DefaultType text/html
DirectoryIndex index.html index.htm default.html default.htm
AccessFileName .htaccess
AddHandler server-parsed .htm .html .txt
UseCanonicalName off
TypesConfig conf/mime.types
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddType application/x-tar .tgz

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

ProxyRequests On
ProxyPass /webapps http://appscluster.ops.about.com
#ProxyPass /mp http://primecgi.primedia.com/mp-bin

NameVirtualHost 10.12.12.125:443
NameVirtualHost 10.12.12.125:80
NameVirtualHost 10.12.13.125:443
NameVirtualHost 10.12.13.125:80

ExtendedStatus On
<Location /server-status>
SetHandler server-status
order deny,allow
deny from all
allow from 10.
</Location>

<Directory />
  Options IncludesNOEXEC FollowSymLinks
  AllowOverride None
</Directory>
 
<Directory /mnt/www/home/home/>
  Options IncludesNOEXEC FollowSymLinks
  AllowOverride None
</Directory>
 
<Directory /mnt/www/images/>
  Options IncludesNOEXEC FollowSymLinks
  AllowOverride None
</Directory>
 
<Directory /mnt/www/guide/>
  Options IncludesNOEXEC FollowSymLinks
  AllowOverride None
</Directory>
 
<Directory /mnt/www/vdir/ads/>
  Options IncludesNOEXEC FollowSymLinks
  AllowOverride None
</Directory>
 
<Directory /mnt/www/vdir/zdynahubz/>
  Options IncludesNOEXEC FollowSymLinks
  AllowOverride None
</Directory>
 
<Directory /mnt/www/vdir/zimages70z/>
  Options IncludesNOEXEC FollowSymLinks
  AllowOverride None
</Directory>
 
<Directory /mnt/www/vdir/zpicsz/>
  Options IncludesNOEXEC FollowSymLinks
  AllowOverride None
</Directory>



( run in 2.300 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )