[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

apache2 config - subversion alias

From: Mike Dewhirst <miked_at_dewhirst.com.au>
Date: 2005-11-14 01:45:20 CET

I'm trying to troubleshoot an Apache 2.0.53 configuration issue** and
discovered a subversion warning in my SuSE 9.1 boot.msg. Subversion
appears to be working fine so maybe this isn't a problam at all - just a
blind alley.

In any case, when I originally set up subversion, I had to tweak the
subversion.conf mercilessly to get svn working properly. I probably
destroyed something so ... the relevant config stuff is below.

Any advice appreciated

Thanks

mike

-> This is the boot.msg extract

[Mon Nov 14 10:00:17 2005] [warn] The Alias directive in
/etc/apache2/conf.d/subversion.conf at line 3 will probably never match
because it overlaps an earlier Alias.
done

-> A search of all files in /etc/apache2/ for the string '/repos'

conf.d\subversion.conf(3): Alias /repos /srv/svn/html
conf.d\subversion.conf(17): <Location /repos>
conf.d\subversion.conf(19): SVNParentPath /srv/svn/repos

-> contents of /etc/apache2/conf.d/subversion.conf

<IfModule mod_dav_svn.c>
     <IfModule mod_alias.c>
         Alias /repos /srv/svn/html
     </IfModule>
     <Directory /srv/svn/html>
         Options Indexes +Multiviews -FollowSymLinks
         IndexOptions FancyIndexing \
                         ScanHTMLTitles \
                         NameWidth=* \
                         DescriptionWidth=* \
                         SuppressLastModified \
                         SuppressSize
         Order allow,deny
         Allow from all
     </Directory>
     #
     <Location /repos>
         DAV svn
         SVNParentPath /srv/svn/repos
         AuthzSVNAccessFile /srv/svn/user_access/access-policy
         AuthType Basic
         AuthName "repositories"
         AuthUserFile /srv/svn/user_access/auth-file
         Require valid-user
         <LimitExcept GET PROPFIND OPTIONS REPORT>
             #
         </LimitExcept>
     </Location>
</IfModule>
#

** The Apache2 problem is that I can't get Basic Auth to work on an
ordinary directory unrelated to subversion. Basic auth actually works
for the repositories but not elsewhere. I am posting on the apache list
with that issue but just in case my subversion config tweaks have caused
it - I thought I'd better ask here too.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 14 01:47:25 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.