You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Fatih Gulec <fa...@cs.hacettepe.edu.tr> on 2006/08/19 11:56:15 UTC

svn: PROPFIND of '/xxx': 403 Forbidden

I would like to run subversion with apache, I do the followings for
installation :

--------------------------------------------------------------------------
[root@bulbul /]# yum install subversion
[root@bulbul /]# yum install mod_dav_svn
[root@bulbul /]# yum install mod_ssl

[root@bulbul /]# vim /etc/httpd/conf.d/subversion.conf
<Location /repos>
   DAV svn
   SVNParentPath /var/www/svn

   AuthzSVNAccessFile /etc/httpd/passwd/svnauthz.conf

   SSLRequireSSL

   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/httpd/passwd/passwords

   Require valid-user
</Location>

[root@bulbul /]# mkdir /etc/httpd/passwd
[root@bulbul /]# htpasswd -b -c /etc/httpd/passwd/passwords usrtmp passwd
[root@bulbul /]# mkdir /var/www/svn
[root@bulbul /]# chown apache:apache -R /var/www/svn
[root@bulbul /]# svnadmin create /var/www/svn/deneme
[root@bulbul /]# chown apache:apache -R /var/www/svn/deneme
[root@bulbul /]# vim /etc/httpd/passwd/svnauthz.conf
[deneme:/]
usrtmp = rw
----------------------------------------------------------------------------

But when I would like to connect via apache I get error :

[root@bulbul prens]# svn list https://server.com/repos
Authentication realm: <https://server.com:443> Subversion Repository
Password for 'root':
Authentication realm: <https://server.com:443> Subversion Repository
Username: usrtmp
Password for 'usrtmp':
svn: PROPFIND request failed on '/repos'
svn: PROPFIND of '/repos': 403 Forbidden (https://server.com)

Thanks for replies...

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

Re: svn: PROPFIND of '/xxx': 403 Forbidden

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 19, 2006, at 14:25, Fatih Gulec wrote:

>>> [root@bulbul prens]# svn list https://server.com/repos
>>> Authentication realm: <https://server.com:443> Subversion Repository
>>> Password for 'root':
>>> Authentication realm: <https://server.com:443> Subversion Repository
>>> Username: usrtmp
>>> Password for 'usrtmp':
>>> svn: PROPFIND request failed on '/repos'
>>> svn: PROPFIND of '/repos': 403 Forbidden (https://server.com)
>>
>> Supply the name of the repository you'd like to list, e.g.:
>>
>> svn list https://server.com/repos/deneme
>>
>> If you'd like to see a list of the available repositories, that can
>> be accomplished by including the directive "SVNListParentPath on" in
>> your Location section. However, it will only work when you put the
>> URL "https://server.com/repos/" into a web browser; it will not work
>> from the command-line client.
>
> Then I tried what you said, and I get an other error :
>
> [root@bulbul ~]# svn list https://server.com/repos/deneme
> Authentication realm: <https://server.com:443> Subversion Repository
> Password for 'root':
> Authentication realm: <https://server.com:443> Subversion Repository
> Username: usrtmp
> Password for 'usrtmp':
> svn: PROPFIND request failed on '/repos/deneme'
> svn: PROPFIND of '/repos/deneme': 406 Not Acceptable (https:// 
> server.com)

"Not acceptable"? I haven't run across that error with regard to  
Subversion before. A quick Google search for "not acceptable" across  
the svn.haxx.se archive shows that the phrase hase come up a number  
of times on the lists, but not really in reference to the Apache  
status code.

Do you have a proxy of some sort between yourself and the server?  
Could it be doing something strange to cause this? Or do you have  
other nonstandard directives in your Apache configuration relating to  
content negotiation that could be causing this?


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

Re: svn: PROPFIND of '/xxx': 403 Forbidden

Posted by Fatih Gulec <fa...@cs.hacettepe.edu.tr>.
> On Aug 19, 2006, at 13:56, Fatih Gulec wrote:
>
>> <Location /repos>
>>    DAV svn
>>    SVNParentPath /var/www/svn
>>
>>    AuthzSVNAccessFile /etc/httpd/passwd/svnauthz.conf
>>
>>    SSLRequireSSL
>>
>>    AuthType Basic
>>    AuthName "Subversion Repository"
>>    AuthUserFile /etc/httpd/passwd/passwords
>>
>>    Require valid-user
>> </Location>
>>
>> [root@bulbul /]# mkdir /etc/httpd/passwd
>> [root@bulbul /]# htpasswd -b -c /etc/httpd/passwd/passwords usrtmp
>> passwd
>> [root@bulbul /]# mkdir /var/www/svn
>> [root@bulbul /]# chown apache:apache -R /var/www/svn
>> [root@bulbul /]# svnadmin create /var/www/svn/deneme
>> [root@bulbul /]# chown apache:apache -R /var/www/svn/deneme
>> [root@bulbul /]# vim /etc/httpd/passwd/svnauthz.conf
>> [deneme:/]
>> usrtmp = rw
>> ----------------------------------------------------------------------
>> ------
>>
>> But when I would like to connect via apache I get error :
>>
>> [root@bulbul prens]# svn list https://server.com/repos
>> Authentication realm: <https://server.com:443> Subversion Repository
>> Password for 'root':
>> Authentication realm: <https://server.com:443> Subversion Repository
>> Username: usrtmp
>> Password for 'usrtmp':
>> svn: PROPFIND request failed on '/repos'
>> svn: PROPFIND of '/repos': 403 Forbidden (https://server.com)
>
> Supply the name of the repository you'd like to list, e.g.:
>
> svn list https://server.com/repos/deneme
>
> If you'd like to see a list of the available repositories, that can
> be accomplished by including the directive "SVNListParentPath on" in
> your Location section. However, it will only work when you put the
> URL "https://server.com/repos/" into a web browser; it will not work
> from the command-line client.
>
>
Then I tried what you said, and I get an other error :

[root@bulbul ~]# svn list https://server.com/repos/deneme
Authentication realm: <https://server.com:443> Subversion Repository
Password for 'root':
Authentication realm: <https://server.com:443> Subversion Repository
Username: usrtmp
Password for 'usrtmp':
svn: PROPFIND request failed on '/repos/deneme'
svn: PROPFIND of '/repos/deneme': 406 Not Acceptable (https://server.com)

By the way thanks for your quick reply.

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

Re: svn: PROPFIND of '/xxx': 403 Forbidden

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 19, 2006, at 13:56, Fatih Gulec wrote:

> <Location /repos>
>    DAV svn
>    SVNParentPath /var/www/svn
>
>    AuthzSVNAccessFile /etc/httpd/passwd/svnauthz.conf
>
>    SSLRequireSSL
>
>    AuthType Basic
>    AuthName "Subversion Repository"
>    AuthUserFile /etc/httpd/passwd/passwords
>
>    Require valid-user
> </Location>
>
> [root@bulbul /]# mkdir /etc/httpd/passwd
> [root@bulbul /]# htpasswd -b -c /etc/httpd/passwd/passwords usrtmp  
> passwd
> [root@bulbul /]# mkdir /var/www/svn
> [root@bulbul /]# chown apache:apache -R /var/www/svn
> [root@bulbul /]# svnadmin create /var/www/svn/deneme
> [root@bulbul /]# chown apache:apache -R /var/www/svn/deneme
> [root@bulbul /]# vim /etc/httpd/passwd/svnauthz.conf
> [deneme:/]
> usrtmp = rw
> ---------------------------------------------------------------------- 
> ------
>
> But when I would like to connect via apache I get error :
>
> [root@bulbul prens]# svn list https://server.com/repos
> Authentication realm: <https://server.com:443> Subversion Repository
> Password for 'root':
> Authentication realm: <https://server.com:443> Subversion Repository
> Username: usrtmp
> Password for 'usrtmp':
> svn: PROPFIND request failed on '/repos'
> svn: PROPFIND of '/repos': 403 Forbidden (https://server.com)

Supply the name of the repository you'd like to list, e.g.:

svn list https://server.com/repos/deneme

If you'd like to see a list of the available repositories, that can  
be accomplished by including the directive "SVNListParentPath on" in  
your Location section. However, it will only work when you put the  
URL "https://server.com/repos/" into a web browser; it will not work  
from the command-line client.


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