All pastes #234471 Raw Edit

Someone

public text v1 · immutable
·published 2006-11-02 16:07 UTC
rendered paste body
<VirtualHost ip:secretport>
        ServerName domain
        ServerAlias www.domain
        ServerAdmin infoserv@domain

        SSLEngine on
        SSLCertificateKeyFile /etc/ssl/certs/domain.org.key
        SSLCertificateFile /etc/ssl/certs/domain.org.pem

        DocumentRoot /home/http/htdocs/domain
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>

        <Directory /home/http/htdocs/domain>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>


        Alias /secure /home/http/htdocs-ssl/secure
        <Directory /home/http/htdocs-ssl/secure>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

    ScriptAlias /cgi-bin /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error-domain

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

    TransferLog /var/log/apache2/transfer-domain
        #CustomLog /var/log/apache2/access.log combined
        ServerSignature On
</VirtualHost>