All pastes #2052975 Raw Edit

Unnamed

public text v1 · immutable
#2052975 ·published 2011-05-02 18:52 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 "#1007" "#1007"
ServerName activetaxllc.com
ServerAlias www.activetaxllc.com
DocumentRoot /home/activetaxllc/public_html
ErrorLog /var/log/virtualmin/activetaxllc.com_error_log
CustomLog /var/log/virtualmin/activetaxllc.com_access_log combined
ScriptAlias /cgi-bin/ /home/activetaxllc/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/activetaxllc/public_html>
Options -Indexes +IncludesNOEXEC +FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/activetaxllc/cgi-bin>
allow from all
</Directory>
php_value memory_limit 32M
</VirtualHost>


<VirtualHost *:443>
        ServerAdmin webmaster@activetaxllc.com
        ServerName customers.activetaxllc.com
        ProxyPass / http://customers.activetaxllc.com:8080/
        ProxyPassReverse / http://customers.activetaxllc.com:8080/
        ErrorLog /var/log/apache2/error.log
        CustomLog /var/log/apache2/access.log combined
        SSLProxyEngine On 
        SSLEngine on
        SSLCertificateFile /home/activetaxllc/ssl-customers.cert
        SSLCertificateKeyFile /home/activetaxllc/ssl-customers.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"


<Proxy http://customers.activetaxllc.com:8080/> 
Allow from all 
</Proxy>
<Location />
  Order allow,deny
  Allow from all
</Location>
</VirtualHost>