All pastes #742287 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-19 11:53 UTC
rendered paste body
### HTTP VHOSTS

Listen 80
NameVirtualHost *:80

<VirtualHost *:80>
    ServerName hackdmz.net
    ServerAlias www.hackdmz.net
    Redirect / https://www.hackdmz.net/
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "/var/www/chill-fu.net/htdocs"
    ServerName chill-fu.net
    ServerAlias www.chill-fu.net
    CustomLog /var/log/apache2/chill-fu.net combined

    <Directory "/var/www/chill-fu.net/htdocs">
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all

    </Directory>

    <IfModule peruser.c>
        ServerEnvironment apache apache
        MinSpareProcessors 4
        MaxProcessors 20
    </IfModule>

    <IfModule itk.c>
        AssignUserID apache apache
        MaxClientsVHost 50
    </IfModule>
        RewriteEngine          on
        # Block TRACK and TRACE methods
        ReWriteCond %{REQUEST_METHOD} ^TRACE
        RewriteRule .* - [F]
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "/var/www/asysadminblog.com/htdocs"
    ServerName asysadminblog.com
    ServerAlias www.asysadminblog.com
    CustomLog /var/log/apache2/asysadminblog.com combined

    <Directory "/var/www/asysadminblog.com/htdocs">
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all

        # For Python
        #AddHandler mod_python .py
        #PythonHandler mod_python.publisher
        #PythonDebug On

    </Directory>

    <IfModule peruser.c>
        ServerEnvironment apache apache
        MinSpareProcessors 4
        MaxProcessors 20
    </IfModule>

    <IfModule itk.c>
        AssignUserID apache apache
        MaxClientsVHost 50
    </IfModule>
        RewriteEngine          on
        # Block TRACK and TRACE methods
        ReWriteCond %{REQUEST_METHOD} ^TRACE
        RewriteRule .* - [F]
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "/var/www/getenlightened.com/htdocs"
    ServerName getenlightened.com
    ServerAlias www.getenlightened.com
    CustomLog /var/log/apache2/getenlightened.com combined

    <Directory "/var/www/getenlightened.com/htdocs">
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule peruser.c>
        ServerEnvironment apache apache
        MinSpareProcessors 4
        MaxProcessors 20
    </IfModule>

    <IfModule itk.c>
        AssignUserID apache apache
        MaxClientsVHost 50
    </IfModule>
        RewriteEngine          on

        # Block TRACK and TRACE methods
        ReWriteCond %{REQUEST_METHOD} ^TRACE
        RewriteRule .* - [F]
</VirtualHost>


#### SSL VHOSTS BELOW


<IfDefine SSL>
<IfModule ssl_module>

Listen 443
NameVirtualHost *:443

<VirtualHost *:443>
    ServerName chill-fu.net
    ServerAlias www.chill-fu.net
    Redirect / http://www.chill-fu.net/
</VirtualHost>

<VirtualHost *:443>
    ServerName asysadminblog.com
    ServerAlias www.asysadminblog.com
    Redirect / http://www.asysadminblog.com/
</VirtualHost>

<VirtualHost *:443>
    DocumentRoot "/var/www/hackdmz.net/htdocs"
    ServerName hackdmz.net
    ServerAlias www.hackdmz.net
    CustomLog /var/log/apache2/hackdmz.net combined

    <Directory "/var/www/hackdmz.net/htdocs">
        Options FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule peruser.c>
        ServerEnvironment apache apache
        MinSpareProcessors 4
        MaxProcessors 20
    </IfModule>

    <IfModule itk.c>
        AssignUserID apache apache
        MaxClientsVHost 50
    </IfModule>
        RewriteEngine          on
        # Block TRACK and TRACE methods
        ReWriteCond %{REQUEST_METHOD} ^TRACE
        RewriteRule .* - [F]

        SSLEngine  On
        SSLCertificateFile     /etc/apache2/ssl/www.hackdmz.net.crt
        SSLCertificateKeyFile  /etc/apache2/ssl/www.hackdmz.net.key
</VirtualHost>

<VirtualHost *:443>
    ServerName getenlightened.com
    ServerAlias www.getenlightened.com
    Redirect / http://www.getenlightened.com/
</VirtualHost>


</IfModule>
</IfDefine>