All pastes #227857 Raw Edit

Unnamed

public text v1 · immutable
#227857 ·published 2006-10-29 17:49 UTC
rendered paste body
danceskater.homelinux.org.conf:

NameVirtualHost *:80

<VirtualHost danceskater.homelinux.org:80>
    ServerName danceskater.homelinux.org
    DocumentRoot "/var/www/danceskater.homelinux.org/htdocs"
    <Directory "/var/www/danceskater.homelinux.org/htdocs">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

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

    <IfModule itk.c>
        # The userid and groupid this VirtualHost will run as
        AssignUserID apache apache

        # Optional: A separate MaxClients for the VirtualHost,
        # to limit the maximum number of processes
        MaxClientsVHost 50

        # Note that if you do not assign a user ID for your
        # VirtualHosts, none will be assigned by default,
        # ie. you'll run as root. Don't forget this!
    </IfModule>
</VirtualHost>

and

rollerdisco.homelinux.org.conf
<VirtualHost *:80>
    ServerName rollerdisco.homelinux.org
#    ServerAlias rollerdisco.homelinux.org
    DocumentRoot "/var/www/rollerdisco.homelinux.org/htdocs"
    <Directory "/var/www/rollerdisco.homelinux.org/htdocs">
        Options Indexes 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>
</VirtualHost>