All pastes #239671 Raw Edit

Something

public text v1 · immutable
·published 2006-11-05 12:57 UTC
rendered paste body
NameVirtualHost *:80

<IfDefine DEFAULT_VHOST>
<VirtualHost *:80>
    #
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    #
        Alias /phpmyadmin "/home/www/phpmyadmin"
        Alias /docs "/home/www/docs"

    DocumentRoot "/home/www/wiki"

    #
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "/home/www/wiki">
        # Options Indexes FollowSymLinks
        AllowOverride None

        Order allow,deny
        Allow from all
    </Directory>

        <Directory "/phpmyadmin">
                #Options Indexes FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/docs">
                Options Indexes FollowSymLinks
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
    <IfModule peruser.c>
        # this must match a Processor
        ServerEnvironment apache apache

        # these are optional - defaults to the values specified in httpd.conf
        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>
</IfDefine>