All pastes #116107 Raw Edit

Someone

public text v1 · immutable
·published 2006-08-05 02:44 UTC
rendered paste body
#Set default security tight
<Directory />
  Options -All -Multiviews
  AllowOverride None
  <IfModule mod_access.c>
    Order deny,allow
    Deny from all
  </IfModule>
</Directory>

#Open up a bit
<Directory /var/www>
    Options -Indexes FollowSymLinks MultiViews
    AllowOverride All
    <IfModule mod_access.c>
      Order allow,deny
      Allow from all
    </IfModule>
</Directory>

<VirtualHost *>
        DocumentRoot /var/www/default
        <Directory /var/www/default>
                Options None
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log
        LogLevel warn
        CustomLog /var/log/apache2/access.log combined

</VirtualHost>