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

Re: Apache permission issue

From: Tim Liu <tim.gangliu_at_gmail.com>
Date: 2006-11-08 09:20:00 CET

Yes, here it is. thank you for your help

<Location /svn>
DAV svn
#SVNListParentPath on
SVNParentPath /var/subversion/repository

<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
AuthType Basic
AuthLDAPURL ldap://...
AuthName "Subversion repositories ..."

AuthzSVNAccessFile /auto/.../subversion/repository/csmrepos/conf/authz
</Location>

I edit it again http-std.conf.

Here is diff:
[/etc/httpd/conf] diff httpd.conf httpd-std.conf
284,285d283
< LoadModule dav_svn_module /usr/lib/httpd/modules/mod_dav_svn.so
< LoadModule authz_svn_module /usr/lib/httpd/modules/mod_authz_svn.so
360c358
< DocumentRoot "/var/www/html"

---
> DocumentRoot "/var/www/htdocs"
1089,1103d1086
<
< <Location /svn>
< DAV svn
< #SVNListParentPath on
< SVNParentPath /var/subversion/repository
<
< <LimitExcept GET PROPFIND OPTIONS REPORT>
< Require valid-user
< </LimitExcept>
< AuthType Basic
< AuthLDAPURL ldap://...
< AuthName "Subversion repositories ..."
<
< AuthzSVNAccessFile /auto/../subversion/repository/csmrepos/conf/authz
< </Location>
thx a lot
Tim
On 11/8/06, Ryan Schmidt <subversion-2006d@ryandesign.com> wrote:
>
>
> On Nov 8, 2006, at 01:40, Tim Liu wrote:
>
> > I got an Apache permission issue. After searching in archived email
> > and google, I learn something but still not clear about how to
> > config unix account/permission among root, apache account for svn.
> > Looks like I need some education from board:) thx for your patience
> > and help first.
> >
> > Apache is installed and lauched as root.
> >
> > Browser msg
> > ==========
> > http://.../svn/csmrepos
> > Forbidden
> > You don't have permission to access /svn/csmrepos on this server.
> >
> > Apache/2.0.59 (Unix) DAV/2 SVN/1.1.4 Server at ... Port 80
> >
> > Apache error_log
> > ==============
> > [Tue Nov 07 23:34:08 2006] [error] [client ...] Access denied: -
> > GET csmrepos:/
> >
> > Directory
> > =======
> > sjc-csm-lx-2[/var/subversion/repository] ls -al
> > total 12
> > drwxr-xr-x  3 root   root   4096 Nov  7 17:28 .
> > drwxr-xr-x  3 root   root   4096 Nov  7 17:27 ..
> > drwxr-xr-x  7 apache apache 4096 Nov  7 17:28 csmrepos
>
> And what's in your httpd.conf file? Presumably you have a <Location /
> svn/> section? Can you show us that?
>
>
>
>
Received on Wed Nov 8 09:20:44 2006

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.