Apache override in sub-location
- by Atmocreations
This is my Apache vHost-configuration:
<VirtualHost subversion.domain.com:80>
    ServerAdmin [email protected]
    ServerName servername.domain.com
    Documentroot /srv/www/htdocs/svn
    ErrorLog /var/log/apache2/subversion-error_log
    CustomLog /var/log/apache2/subversion-access_log combined
    HostnameLookups Off
    UseCanonicalName Off
    ServerSignature Off
    <Location "/">
            AuthBasicProvider ldap
            AuthType Basic
            AuthzLDAPAuthoritative on
            AuthName "SVN"
            AuthLDAPURL "ldap://myldapurl/..." NONE
            AuthLDAPBindDN "mybinddn"
            AuthLDAPBindPassword mypwd
            DAV svn
            SVNParentPath /svn/
            SVNListParentPath on
            require ldap-group groupname
            Order allow,deny
            Allow from all
    </Location>
</VirtualHost>
This works perfectly. But I would now like to add a web-frontend for the subversion server. I therefore added the lines
    <Location "/web">
            DAV off
            Order allow,deny
            Allow from all
    </Location>
But they don't work, as the <Location "/">...</Location> part is directing the requests to the SVN/DAV module. Therefore, apache tells that it couldn't open the requested SVN-filsystem.
Does anybody know how to override this setting? Any hint is appreciated.