All pastes #268318 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-12-05 16:46 UTC
rendered paste body
NameVirtualHost *
<VirtualHost *>
        ServerAdmin jcooke@networkpub.com
        ServerName mcs-staffing.com
        ServerAlias www.mcs-staffing.com
        DocumentRoot /var/vweb/mcs-staffing.com/htdocs
        ErrorLog /var/vweb/mcs-staffing.com/logs/error_log
        LogLevel warn
        CustomLog /var/vweb/mcs-staffing.com/logs/access_log combined 
        ServerSignature On
</VirtualHost>

NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80>
        ServerAdmin jcooke@networkpub.com
        ServerName networkpub.com
        ServerAlias 192.168.0.1 www.networkpub.com
        DocumentRoot /var/vweb/networkpub.com/htdocs
        ErrorLog /var/vweb/networkpub.com/logs/error_log
        LogLevel warn
        CustomLog /var/vweb/networkpub.com/logs/access_log combined
        ServerSignature On
        Alias /squirrelmail /usr/share/squirrelmail

        <Directory /usr/share/squirrelmail>
          #php_flag register_globals off
          Options Indexes FollowSymLinks
          <IfModule mod_dir.c>
            DirectoryIndex index.php
          </IfModule>

          # access to configtest is limited by default to prevent information le                          ak
          <Files configtest.php>
            order deny,allow
            deny from all
            allow from 127.0.0.1
          </Files>
        </Directory>

</VirtualHost>

<VirtualHost *:443>
    ServerName networkpub.com
    ServerAlias www.networkpub.com
    DocumentRoot /var/vweb/networkpub.com/htdocs
    ErrorLog /var/vweb/networkpub.com/logs/error_log
    LogLevel warn
    CustomLog /var/vweb/networkpub.com/logs/access_log combined
    TransferLog /var/vweb/networkpub.com/logs/ssl_access_log
    SSLEngine on
    SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eN                          ULL
    SSLCertificateFile /etc/apache2/ssl/www.networkpub.com.crt
    SSLCertificateKeyFile /etc/apache2/ssl/www.networkpub.com.key
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.                          0 force-response-1.0
    CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\"                           %b"
    <Files ~ "\.(cgi|shtml|phtml|php?)$">
        SSLOptions +StdEnvVars
    </Files>
    RewriteEngine On
    RewriteOptions inherit
</VirtualHost>