All pastes #294270 Raw Edit

Someone

public text v1 · immutable
#294270 ·published 2006-12-28 08:56 UTC
rendered paste body
# Virtual Host Konfiguration
# DateCreated - Owner

<VirtualHost *>
        ServerAdmin support@dorijan.de
        ServerName www4.dorijan.de
        ServerAlias www4.dorijan.de

        # Skript Ausfuehrende Gruppen
        SuexecUserGroup d00001 d00001

        DocumentRoot /var/www/users/d/d00001/websites/www4.dorijan.de/
        DirectoryIndex index.php index.html index.htm

        UseCanonicalName Off



        # php kram
        AddHandler php-fastcgi .php
        AddHandler php4-fastcgi .php4
        AddHandler php5-fastcgi .php5
        AddHandler php6-fastcgi .php6

        AddType application/x-httpd-php .php
        AddType application/x-httpd-php .php4
        AddType application/x-httpd-php .php5
        AddType application/x-httpd-php .php6


        # Logfiles Start - Syntax $homedir/logs/$ServerName
        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        Loglevel warn

        ErrorLog        /var/www/users/d/d00001/logs/error.log
        TransferLog     /var/www/users/d/d00001/logs/access.log

        CustomLog       /var/www/users/d/d00001/logs/traffic.log traff
        CustomLog       /var/www/users/d/d00001/logs/combined.log combined
        # Logfiles Ende

        # Error Dokumente - Start
        Alias /webservererrordocs /var/www/users/d/d00001/errorpages

        ErrorDocument 401 /webservererrordocs/401.html
        ErrorDocument 403 /webservererrordocs/403.html
        ErrorDocument 404 /webservererrordocs/404.html
        ErrorDocument 500 /webservererrordocs/500.html
        ErrorDocument 503 /webservererrordocs/503.html
        ErrorDocument 504 /webservererrordocs/504.html
        # Error Dokumente - Ende

        # Bandbreiten & Request Management mit mod_cband
        # Reseller / Besitzer
        CBandUser dorijan
        # Download Limit 20Gigabyte
        CBandLimit 20G
        CBandExceededURL /webservererrordocs/traffic.html
        CBandScoreboard /var/www/users/d/d00001/tmp/cband.score
        # Speed Limit wird auf 4 Wochen gerechnet
        CBandPeriod 4W
        # Nach erreichen des Limits stehen 25kb/s sowie 20 Req/s bei 50 Conns zur verfügung
        CBandExceededSpeed 256 20 50

        # Verzeichnis Definitionen
        <Directory />
                Options FollowSymLinks
                AllowOverride AuthConfig
        </Directory>

        <Directory /var/www/users/d/d00001/websites/www4.dorijan.de>
                Options ExecCGI Indexes FollowSymLinks MultiViews
                AllowOverride AuthConfig
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-dir/ /var/www/php-fcgi-scripts/d00001/
        <Directory "/var/www/php-fcgi-scripts/d00001">
                AllowOverride None
                Options +ExecCGI -MultiViews -Indexes
                Order allow,deny
                Allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /var/www/users/d/d00001/cgi-bin/
        <Directory "/var/www/users/d/d00001/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews -Indexes
                Order allow,deny
                Allow from all
        </Directory>

        Alias /webservericons/ "/var/www/users/d/d00001/icons/"
        <Directory "/var/www/users/d/d00001/icons">
                Options Indexes MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>