All pastes #86549 Raw Edit

Something

public text v1 · immutable
·published 2006-07-13 00:19 UTC
rendered paste body
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at 
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
#NameVirtualHost *

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog /var/log/httpd/dummy-host.example.com-error_log
#    CustomLog /var/log/httpd/dummy-host.example.com-access_log common
#    SSLEngine  on
#    SSLCertificateFile /etc/httpd/conf/MYdomain.com.crt
#    SSLCertificateKeyFile /etc/httpd/conf/MYdomain.com.key
#</VirtualHost>



#### from old ist #####

# Listen for virtual host connections on this interface
NameVirtualHost 68.162.82.30

# This is the main server, and uses all the defaults provided.
<VirtualHost 68.162.82.30:80>
ServerName penguinslair.dyndns.org
ServerAlias penguin
</VirtualHost>

<VirtualHost 68.162.82.30:80>
ServerName penguinslair.dyndns.org
ServerAlias penguin
ServerAdmin richiefrich@gmail.com
DocumentRoot /home/httpd/html
</VirtualHost>


SSLProtocol all
SSLCipherSuite HIGH:MEDIUM

# require a client certificate which has to be directly
# signed by our CA certificate in ca.crt
#SSLVerifyClient require
#SSLVerifyDepth 1
#SSLCACertificateFile conf/ssl.crt/ca.crt


#<VirtualHost 68.162.82.30:443>
#ServerName penguinslair.dyndns.org
#ServerAlias penguin
# use SSL with default configuration
#SSLEnable
#SSLCertificateFile /software/sslCerts-1/config/certs/httpsd.pem
#SSLCertificateKeyFile /software/sslCerts-1/config/certs/private/httpsd-key.pem
#SSLVerifyClient 0
#SSLVerifyDepth 10
##SSLLogFile /software/wwwapache-1.3_server/logs/SSL_log
# see rt 108835 for all the SSL cipher stuff
#SSLRequiredCiphers NULL-MD5:RC4-MD5:EXP-RC4-MD5:RC2-CBC-MD5:IDEA-CBC-MD5:DES-CBC-MD5:DES-CBC-SHA:DES-CBC3-MD5:DES-CBC3-SHA:DES-CFB-M1
#SSLRequireCipher NULL-MD5 RC4-MD5 EXP-RC4-MD5 RC2-CBC-MD5 IDEA-CBC-MD5 DES-CBC-MD5 DES-CBC-SHA DES-CBC3-MD5 DES-CBC3-SHA DES-CFB-M1
#
#SSLBanCipher NULL
#SSLRequiredCiphers DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA:EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA:DES-CBC3-MD5:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:AES128-SHA:DHE-DSS-RC4-SHA:RC4-SHA:RC4-MD5:RC2-CBC-MD5:RC4-MD5
#SSLRequireCipher DHE-RSA-AES256-SHA DHE-DSS-AES256-SHA AES256-SHA EDH-RSA-DES-CBC3-SHA EDH-DSS-DES-CBC3-SHA DES-CBC3-SHA DES-CBC3-MD5 DHE-RSA-AES128-SHA DHE-DSS-AES128-SHA AES128-SHA DHE-DSS-RC4-SHA RC4-SHA RC4-MD5 RC2-CBC-MD5 RC4-MD5 
#</VirtualHost>