You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matheus Leite <ma...@gmail.com> on 2004/10/30 16:44:48 UTC
403 Forbidden error with SVN 1.1.1 and Apache2
Hi people, I am trying to plug SVN 1.1.1 into Apache 2 on Windows XP.
I started from scratch and installed Apache and SVN, then followed the
book instructions and modified the default httpd.conf to include these
lines:
---------------------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn>
DAV svn
SVNParentPath c:/repo
AuthType Basic
AuthName "Subversion repository"
AuthUserFile c:/svn-auth-file
Require valid-user
</Location>
---------------------------------------------------------------------------
When I point to the repository's URL, it does prompt me for a
password, but the page that follows is a 403 Forbidden Error. I have
tried many suggestions but now I am really lost. Does anyone know
where should I look at?
Regards
Matheus
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: 403 Forbidden error with SVN 1.1.1 and Apache2
Posted by Norbert Unterberg <ne...@gmx.net>.
On Sat, 30 Oct 2004 13:44:48 -0300, Matheus Leite <ma...@gmail.com>
wrote:
> AuthUserFile c:/svn-auth-file
Does this file exist and contain user names as described in the book? If
not, I would recommend to remove the authz_svn_module from the config to
see if the other parts of your setup are working. You need
authz_svn_module only if you want to controll access to the repositories
on a per-directory basis.
Norbert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: 403 Forbidden error with SVN 1.1.1 and Apache2
Posted by Jani Averbach <ja...@jaa.iki.fi>.
On 2004-10-30 13:44-0300, Matheus Leite wrote:
>
> <Location /svn>
> DAV svn
> SVNParentPath c:/repo
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile c:/svn-auth-file
> Require valid-user
> </Location>
> ---------------------------------------------------------------------------
>
> When I point to the repository's URL, it does prompt me for a
> password, but the page that follows is a 403 Forbidden Error. I have
> tried many suggestions but now I am really lost. Does anyone know
> where should I look at?
First, to be able to give specific help, we need more specific
problems. =)
Very first, you should check your Apache error logs and see what is
there. Secondly, have you double checked that c:/repo points to the
correct location? Thirdly, do you try to access directly your
http://localhost/svn/? That won't work, because it isn't a repository,
but a SVNParentPath. Lastly, could you access your repository without
Auth-stuff?
BR, Jani
--
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: 403 Forbidden error with SVN 1.1.1 and Apache2
Posted by Matheus Leite <ma...@gmail.com>.
Well, it looks like Subeclipse only works if you already have the
server's certificate cached, by connecting first with the svn command
line. Although my certificate *was* cached, I connected with svn using
the IP address and not the domain's name, and Subeclipse complained
when I tried to create a new repo location using the domain' name.
Regards
Matheus
On Sun, 31 Oct 2004 18:22:45 -0300, Matheus Leite
<ma...@gmail.com> wrote:
> Thanks for your great help, I've sorted this '403 Forbidden' problem out.
> --
>
> I am currently puzzled by another issue. I can connect to my HTTPS
> repository normally through the command line, and I have the server's
> certificate locally cached. However when trying to create a new
> repository location using Subeclipse, it says
>
> Error validating location: "org.tigris.subversion.javahl.ClientException: RA
> layer request failed
> svn: PROPFIND request failed on '/svn/test'
> svn: PROPFIND of '/svn/test': Server certificate verification failed:
> issuer is not trusted(...)"
>
> It lets me keep the location, but won't let me browse. Do I have to
> add my svn server to a list of trusted domains? Why does the command
> line work without it?
>
> Thank you
>
> Matheus
>
>
>
>
> On Sat, 30 Oct 2004 13:44:48 -0300, Matheus Leite
> <ma...@gmail.com> wrote:
> > Hi people, I am trying to plug SVN 1.1.1 into Apache 2 on Windows XP.
> > I started from scratch and installed Apache and SVN, then followed the
> > book instructions and modified the default httpd.conf to include these
> > lines:
> >
> > ---------------------------------------------------------------------------
> > LoadModule dav_module modules/mod_dav.so
> > LoadModule dav_svn_module modules/mod_dav_svn.so
> > LoadModule authz_svn_module modules/mod_authz_svn.so
> >
> > <Location /svn>
> > DAV svn
> > SVNParentPath c:/repo
> > AuthType Basic
> > AuthName "Subversion repository"
> > AuthUserFile c:/svn-auth-file
> > Require valid-user
> > </Location>
> > ---------------------------------------------------------------------------
> >
> > When I point to the repository's URL, it does prompt me for a
> > password, but the page that follows is a 403 Forbidden Error. I have
> > tried many suggestions but now I am really lost. Does anyone know
> > where should I look at?
> >
> > Regards
> >
> > Matheus
> >
>
> --
> ------------------------------
> Matheus Costa Leite
> matheus@mindsatwork.com.br
>
> Minds at Work
> Tecnologia da Informação
> ------------------------------
>
--
------------------------------
Matheus Costa Leite
matheus@mindsatwork.com.br
Minds at Work
Tecnologia da Informação
------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: 403 Forbidden error with SVN 1.1.1 and Apache2
Posted by Matheus Leite <ma...@gmail.com>.
Thanks for your great help, I've sorted this '403 Forbidden' problem out.
--
I am currently puzzled by another issue. I can connect to my HTTPS
repository normally through the command line, and I have the server's
certificate locally cached. However when trying to create a new
repository location using Subeclipse, it says
Error validating location: "org.tigris.subversion.javahl.ClientException: RA
layer request failed
svn: PROPFIND request failed on '/svn/test'
svn: PROPFIND of '/svn/test': Server certificate verification failed:
issuer is not trusted(...)"
It lets me keep the location, but won't let me browse. Do I have to
add my svn server to a list of trusted domains? Why does the command
line work without it?
Thank you
Matheus
On Sat, 30 Oct 2004 13:44:48 -0300, Matheus Leite
<ma...@gmail.com> wrote:
> Hi people, I am trying to plug SVN 1.1.1 into Apache 2 on Windows XP.
> I started from scratch and installed Apache and SVN, then followed the
> book instructions and modified the default httpd.conf to include these
> lines:
>
> ---------------------------------------------------------------------------
> LoadModule dav_module modules/mod_dav.so
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> <Location /svn>
> DAV svn
> SVNParentPath c:/repo
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile c:/svn-auth-file
> Require valid-user
> </Location>
> ---------------------------------------------------------------------------
>
> When I point to the repository's URL, it does prompt me for a
> password, but the page that follows is a 403 Forbidden Error. I have
> tried many suggestions but now I am really lost. Does anyone know
> where should I look at?
>
> Regards
>
> Matheus
>
--
------------------------------
Matheus Costa Leite
matheus@mindsatwork.com.br
Minds at Work
Tecnologia da Informação
------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org