All pastes #990922 Raw Edit

Anonymous

public text v1 · immutable
#990922 ·published 2008-04-20 15:56 UTC
rendered paste body
NameVirtualHost *:80
ServerName www.ringabell.org:80

# warning : wild cards override specific values !
# test config in command line with apache2ctl -S

# default

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerName www.ringabell.org
    Alias /phpmyadmin /var/www/phpmyadmin
    DocumentRoot /var/www/ringabell

    <Directory />
        Options -Indexes FollowSymLinks MultiViews
        Order Deny,Allow
        Deny from All
    </Directory>

    <Directory /var/www/>
        Options -Indexes FollowSymLinks MultiViews
        AllowOverride Indexes
        Order allow,deny
        allow from all

        # This directive allows us to have apache2's default start page
        # in /apache2-default/, but still have / go to the right place
        # RedirectMatch ^/$ /apache2-default/
    </Directory>

    # ErrorDocument 404 /var/www/errorpages/404.html
    ErrorDocument 404 "sorry, page not found"
    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined
    ServerSignature On
</VirtualHost>

# 1brin2web
<VirtualHost *:80>
    ServerName www.1brin2web.com
    #  Alias /phpmyadmin /var/www/phpmyadmin
    DocumentRoot /var/www/1brin2web/
</VirtualHost>