You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bakki Kudva <ba...@gmail.com> on 2007/03/08 22:07:09 UTC

403 forbidden error

Hi all,

I have a repo at /home/svn. It used to contain only projects of my
company such as
/svn/projects/this/or/that

I decided to use the same repo for projects I develop for clients so
split it like so. (not two repos but two paths in one)

/svn/mycompnay/projects/this/or/that
/svn/clientcompany/paying/projects

The clientcompany side works fine but one of my company projects which
was dormant for a while gives me errors. I thought it might be because
it may have been checked out pre-split, so I did a svn co (which works
fine) to a new working copy applied the new changes and tried to
commit but I get..

svn: Commit failed (details follow):
svn: OPTIONS request failed on '/svn'
svn: OPTIONS of '/svn': 403 Forbidden (http://mycompany.com)

I have setup only basic auth and am using dav_svn module. I generated
the passwords to
/etc/apache2/dav_svn.passwd
I am using dav_svn.authz to specify which user has r / w rights.

Some excerpts from the dav_svn.conf...
<Location /svn>

  DAV svn

  # Set this to the path to your repository
  SVNParentPath /home/svn

  # Uncomment the following 3 lines to enable Basic Authentication
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/dav_svn.passwd

  # Uncomment the following line to enable Authz Authentication
  AuthzSVNAccessFile /etc/apache2/dav_svn.authz

  # The following three lines allow anonymous read, but make
  # committers authenticate themselves.

  #  <LimitExcept GET PROPFIND OPTIONS REPORT>
  Require valid-user
  #  </LimitExcept>

</Location>

Any ideas why commits fail?

TIA,

bakki

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: 403 forbidden error

Posted by Clemens Mensik <c....@ip2.at>.
Hi,

on the first hand everything seems to look fine. But 
maybe you've misconfigured your acl. How does it look like?
Also try to look into your apache log: what does it tell
you?

regards
clemens

> -----Original Message-----
> From: Bakki Kudva [mailto:bakki.kudva@gmail.com] 
> Sent: Donnerstag, 08. März 2007 23:07
> To: subversion users
> Subject: 403 forbidden error
> 
> Hi all,
> 
> I have a repo at /home/svn. It used to contain only projects 
> of my company such as /svn/projects/this/or/that
> 
> I decided to use the same repo for projects I develop for 
> clients so split it like so. (not two repos but two paths in one)
> 
> /svn/mycompnay/projects/this/or/that
> /svn/clientcompany/paying/projects
> 
> The clientcompany side works fine but one of my company 
> projects which was dormant for a while gives me errors. I 
> thought it might be because it may have been checked out 
> pre-split, so I did a svn co (which works
> fine) to a new working copy applied the new changes and tried 
> to commit but I get..
> 
> svn: Commit failed (details follow):
> svn: OPTIONS request failed on '/svn'
> svn: OPTIONS of '/svn': 403 Forbidden (http://mycompany.com)
> 
> I have setup only basic auth and am using dav_svn module. I 
> generated the passwords to /etc/apache2/dav_svn.passwd I am 
> using dav_svn.authz to specify which user has r / w rights.
> 
> Some excerpts from the dav_svn.conf...
> <Location /svn>
> 
>   DAV svn
> 
>   # Set this to the path to your repository
>   SVNParentPath /home/svn
> 
>   # Uncomment the following 3 lines to enable Basic Authentication
>   AuthType Basic
>   AuthName "Subversion Repository"
>   AuthUserFile /etc/apache2/dav_svn.passwd
> 
>   # Uncomment the following line to enable Authz Authentication
>   AuthzSVNAccessFile /etc/apache2/dav_svn.authz
> 
>   # The following three lines allow anonymous read, but make
>   # committers authenticate themselves.
> 
>   #  <LimitExcept GET PROPFIND OPTIONS REPORT>
>   Require valid-user
>   #  </LimitExcept>
> 
> </Location>
> 
> Any ideas why commits fail?
> 
> TIA,
> 
> bakki
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org