All pastes #958053 Raw Edit

Something

public text v1 · immutable
#958053 ·published 2008-03-26 13:21 UTC
rendered paste body
# futher up in the config:

<Directory />
        Options None
        Order deny,allow
        Deny from all
        AllowOverride None
</Directory>

# then:

<VirtualHost *>
        ServerName blog.mysite.example
        ServerAdmin webmaster@mysite.example
        DocumentRoot /var/www/blog.mysite.example
       
        <Directory /var/www/blog.mysite.example>
                Options +FollowSymLinks
                Order allow,deny
                allow from all
        </Directory>

        <Directory /usr/share/wordpress>
                Options +FollowSymLinks
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog /var/log/apache2/blog.mysite.example-error.log
        LogLevel warn

        CustomLog /var/log/apache2/blog.mysite.example-access.log combined
</VirtualHost>


# This doesn't work! If I change the last Directory-directive to / instead of /usr/share/wordpress, it works, however. Why?