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

Fwd: Can't access Collection of Repositories page

From: Lynn Lin <lynnos_at_tong-ji.org>
Date: Tue, 1 Sep 2009 08:58:57 +0800

---------- Forwarded message ----------
From: Lynn Lin <lynnos_at_tong-ji.org>
Date: 2009/9/1
Subject: Re: Can't access Collection of Repositories page
To: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>

2009/8/31 Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>

> Van: Lynn Lin [mailto:lynnos_at_tong-ji.org]
> >
> > All,
> >
> > I setup subversion server with apache2 under windows and
> > Linux,I encounter the problem "Can't access Collection of
> > Repositories" page (SVNParentPath)
> >
> > the directory layout:
> >
> > /home/lynn/svn
> > /home/lynn/svn/project1
> > /home/lynn/svn/project2
> >
> > I access http://{server}/svn,it ask me user/passwd and I type
> > user/passwd(which is generated by htpasswd),the page tell me
> >
> >
> >
> >
> >
> > 403 Forbidden
> >
> >
> > Forbidden
> >
> >
> > You don't have permission to access /svn on this server.
> >
> >
> >
> >
> > if I access http://{server}/svn/project1 and after I type
> > user/passwd I can get the page
> >
> > the following is the configuration
> >
> >
> > <Location /svn>
> > DAV svn
> > SVNParentPath /home/lynn/svn
> > SVNListParentPath on
> > AuthType Basic
> > AuthName "Subversion Repository"
> > AuthUserFile /etc/apache2/dav_svn.passwd
> >
> > AuthzSVNAccessFile /etc/apache2/dav_svn.authz
> >
> > Require valid-user
> >
> >
> > </Location>
> >
> > the dav_svn.authz file content:
> >
> > [/] *=r
> > [project1:/]
> > lynn = rw
> >
>
> Do you also get a 403 Forbidden if you browse to http://{server}/svn/ as
> opposed to http://{server}/svn (so, adding a trailing slash)?
>

  still get a 403 Forbidden error

>
> You might need to add a trailing slash to your Location block in the
> httpd.conf:
> <Location /svn/>
> ...
> </Location>
>
> Following mailinglist thread may also be helpful (contains also a
> workaround for the Forbidden when the request does not contain a trailing
> slash):
> http://svn.haxx.se/users/archive-2006-01/0273.shtml
>
> Regards,
> Johan
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2389595

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-01 03:00:24 CEST

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.