You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Florent Nolot <fl...@univ-reims.fr> on 2006/03/10 22:59:55 UTC

svn add and commit problem ?

Hi,

I have a svn server via http on a apache2 web server. The commit, update 
works fine. The only problem is when I add a file on my working directory.
The commit return the following error :

svn: Commit failed (details follow):
svn: PROPFIND request failed on '/svn/EmploiNet/trunk/Script/toto'
svn: PROPFIND of '/svn/EmploiNet/trunk/Script/toto': 302 Found 
(http://xxxxx)

I think the problem is in my virtual host ?

An idea ? I try to put

<Location /svn>
DAV svn
SVNParentPath /home/www-data/svn/
</Location>
in apache2.conf or in mods-enabled/dav_svn.conf and in site-available 
but always the same result.
I work on the last Debian stable. My DocumentRoot is /home/www-data

Thanks for help. On a web server without virtual host, no problem. We 
svnserve, it's also work fine.

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

Re: svn add and commit problem ? Solve

Posted by Florent Nolot <fl...@univ-reims.fr>.
The problem comes from
ErrorDocument 404 http://xxx
in apache2.conf
Whithout this line, all problems are solve.

Florent Nolot a écrit :

> Even with this
>
> <Location /svn>
> DAV svn
> SVNParentPath /var/svn
> </Location>
>
> I have the same result
>
> Ryan Schmidt a écrit :
>
>> On Mar 10, 2006, at 23:59, Florent Nolot wrote:
>>
>>> The commit return the following error :
>>>
>>> svn: Commit failed (details follow):
>>> svn: PROPFIND request failed on '/svn/EmploiNet/trunk/Script/toto'
>>> svn: PROPFIND of '/svn/EmploiNet/trunk/Script/toto': 302 Found  
>>> (http://xxxxx)
>>>
>>> I think the problem is in my virtual host ?
>>>
>>> An idea ? I try to put
>>>
>>> <Location /svn>
>>> DAV svn
>>> SVNParentPath /home/www-data/svn/
>>> </Location>
>>> in apache2.conf or in mods-enabled/dav_svn.conf and in site- 
>>> available but always the same result.
>>> I work on the last Debian stable. My DocumentRoot is /home/www-data
>>
>>
>>
>> There's your problem: You shouldn't have your repositories under 
>> your  document root. Move them out of /home/www-data to somewhere 
>> else,  adjust your SVNParentPath accordingly, and the error should 
>> disappear.
>>
>> P.S: You shouldn't send this kind of question to the dev list, since  
>> it doesn't concern Subversion development.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>
>

-- 
----------------------------------------------------
Florent Nolot
Laboratoire CReSTIC - Equipe LICA
Université de Reims Champagne-Ardenne
UFR Sciences Exactes et Naturelles - Case n°39
Département de Mathématiques et Informatique - Batiment 3
"Moulin de la Housse" - BP 1039
51687 REIMS CEDEX 2
Tél : 03.26.91.32.15
Fax : 03.26.91.33.97
E-Mail : florent.nolot@univ-reims.fr
Web : http://cosy.univ-reims.fr/~fnolot
----------------------------------------------------


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

Re: svn add and commit problem ?

Posted by Florent Nolot <fl...@univ-reims.fr>.
Even with this

<Location /svn>
DAV svn
SVNParentPath /var/svn
</Location>

I have the same result

Ryan Schmidt a écrit :

> On Mar 10, 2006, at 23:59, Florent Nolot wrote:
>
>> The commit return the following error :
>>
>> svn: Commit failed (details follow):
>> svn: PROPFIND request failed on '/svn/EmploiNet/trunk/Script/toto'
>> svn: PROPFIND of '/svn/EmploiNet/trunk/Script/toto': 302 Found  
>> (http://xxxxx)
>>
>> I think the problem is in my virtual host ?
>>
>> An idea ? I try to put
>>
>> <Location /svn>
>> DAV svn
>> SVNParentPath /home/www-data/svn/
>> </Location>
>> in apache2.conf or in mods-enabled/dav_svn.conf and in site- 
>> available but always the same result.
>> I work on the last Debian stable. My DocumentRoot is /home/www-data
>
>
> There's your problem: You shouldn't have your repositories under your  
> document root. Move them out of /home/www-data to somewhere else,  
> adjust your SVNParentPath accordingly, and the error should disappear.
>
> P.S: You shouldn't send this kind of question to the dev list, since  
> it doesn't concern Subversion development.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

-- 
----------------------------------------------------
Florent Nolot
Laboratoire CReSTIC - Equipe LICA
Université de Reims Champagne-Ardenne
UFR Sciences Exactes et Naturelles - Case n°39
Département de Mathématiques et Informatique - Batiment 3
"Moulin de la Housse" - BP 1039
51687 REIMS CEDEX 2
Tél : 03.26.91.32.15
Fax : 03.26.91.33.97
E-Mail : florent.nolot@univ-reims.fr
Web : http://cosy.univ-reims.fr/~fnolot
----------------------------------------------------


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

Re: svn add and commit problem ?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 10, 2006, at 23:59, Florent Nolot wrote:

> The commit return the following error :
>
> svn: Commit failed (details follow):
> svn: PROPFIND request failed on '/svn/EmploiNet/trunk/Script/toto'
> svn: PROPFIND of '/svn/EmploiNet/trunk/Script/toto': 302 Found  
> (http://xxxxx)
>
> I think the problem is in my virtual host ?
>
> An idea ? I try to put
>
> <Location /svn>
> DAV svn
> SVNParentPath /home/www-data/svn/
> </Location>
> in apache2.conf or in mods-enabled/dav_svn.conf and in site- 
> available but always the same result.
> I work on the last Debian stable. My DocumentRoot is /home/www-data

There's your problem: You shouldn't have your repositories under your  
document root. Move them out of /home/www-data to somewhere else,  
adjust your SVNParentPath accordingly, and the error should disappear.

P.S: You shouldn't send this kind of question to the dev list, since  
it doesn't concern Subversion development.



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