Listen 80
Listen 443

LoadModule ssl_module  modules/mod_ssl.so

ServerName example
ServerAdmin admin@example.com
ServerRoot "/usr/local/apache2"
ServerSignature Off
ServerTokens Prod

DocumentRoot "/usr/local/apache2/htdocs"

LogLevel info
ErrorLog logs/error_log

Timeout 300
KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 15

MinSpareServers 8
MaxSpareServers 16
MaxClients 256
MaxRequestsPerChild 100000

DefaultType text/plain
FileETag none
AllowEncodedSlashes On


<IfModule !mpm_netware_module>
User daemon
Group daemon
</IfModule>


SSLSessionCache        "shmcb:/usr/local/apache2/logs/ssl_scache(512000)"
SSLSessionCacheTimeout  300
BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0


NameVirtualHost *:80
NameVirtualHost *:443

<VirtualHost *:80>
    SSLEngine off

    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>

    <Directory /usr/local/apache2/htdocs>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:443>
    SSLEngine on
    SSLCertificateFile /usr/local/apache2/conf/sslcerts/_.example.crt
    SSLCertificateKeyFile /usr/local/apache2/conf/sslcerts/_.example.key
    SSLCertificateChainFile /usr/local/apache2/conf/sslcerts/gd_bundle.crt

    <Directory />
        Options FollowSymLinks
        AllowOverride None
	Order deny,allow
        Deny from all
    </Directory>

    <Directory /usr/local/apache2/htdocs>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>


<IfModule mime_module>
    TypesConfig conf/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
</IfModule>
