All pastes #908482 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-18 14:44 UTC
rendered paste body
<VirtualHost *:80>
        ServerName      foo

        DocumentRoot    /var/www/foo/htdocs/
        CustomLog       /var/log/apache2/foo.access.log combined
        ErrorLog        /var/log/apache2/foo.error.log

        <Location />
                AuthType Basic
                AuthName "foo"
                AuthUserFile /var/www/foo
                Require valid-user
        </Location>

        <Directory /var/www/foo/stats/htdocs>
                Options ExecCGI +FollowSymLinks
                AddHandler cgi-script .pl
                AllowOverride None
                order allow,deny
                allow from all
        </Directory>

</VirtualHost>