All pastes #2052976 Raw Edit

Someone

public text v1 · immutable
#2052976 ·published 2011-05-02 18:53 UTC
rendered paste body
# Ensure that Apache listens on port 443
Listen 443

# Listen for virtual host requests on all IP addresses
NameVirtualHost *:443

#Go ahead and accetp connections for these vhosts
#from non-SNI clients
SSLStrictSNIVHostCheck off

<VirtualHost *:80>
SuexecUserGroup "#1004" "#1004"
ServerName websocialinc.com
ServerAlias www.websocialinc.com
DocumentRoot /home/websocialinc/public_html
ErrorLog /var/log/virtualmin/websocialinc.com_error_log
CustomLog /var/log/virtualmin/websocialinc.com_access_log combined
ScriptAlias /cgi-bin/ /home/websocialinc/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/websocialinc/public_html>
Options -Indexes +IncludesNOEXEC +FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/websocialinc/cgi-bin>
allow from all
</Directory>
</VirtualHost>



<VirtualHost *:443>
        ServerAdmin webmaster@websocialinc.com
        ServerName jobsearch.websocialinc.com
        DocumentRoot /home/websocialinc/public_html/jobsearch/
ErrorLog /var/log/virtualmin/websocialinc.com_error_log
CustomLog /var/log/virtualmin/websocialinc.com_access_log combined
ScriptAlias /cgi-bin/ /home/websocialinc/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/websocialinc/public_html/jobsearch/>
Options -Indexes +IncludesNOEXEC +FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/websocialinc/cgi-bin>
allow from all
</Directory>

        CustomLog /var/log/apache2/access.log combined
        SSLProxyEngine On 
        SSLEngine on
        SSLCertificateFile /home/websocialinc/jobsearch.crt
        SSLCertificateKeyFile /home/websocialinc/jobsearch.key
        SSLProtocol all -SSLv2
        SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
        SSLCertificateChainFile /etc/apache2/sub.class1.server.ca.pem
        SSLCACertificateFile /etc/apache2/ca.pem
	
        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
        CustomLog /var/log/apache2/ssl_request_log \
        "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

<Location />
  Order allow,deny
  Allow from all
</Location>