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

Re: strange error with subversion: "client denied by server configuration: /htdocs"

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Mon, 18 May 2009 17:39:44 +0400

Greetings, John Pye!

>>> For *some* clients, we see errors like this:
>>>
>>> jpye_at_ascend:~$ svn co
>>> http://ascendsvn.cheme.cmu.edu/ascend/code/trunk/solvers test1
>>> svn: PROPFIND request failed on '/ascend/!svn/vcc/default'
>>> svn: PROPFIND of '/ascend/!svn/vcc/default': 403 Forbidden
>>> (http://ascendsvn.cheme.cmu.edu)
>>>
>>> which is accompanied by an error in the Apache logs:
>>>
>>> [Fri May 15 04:20:58 2009] [error] [client 128.2.52.249] client denied
>>> by server configuration: /htdocs
>>>
>>> but for *other* clients, there is no error at all, and the command works
>>> just fine.
>>>
>>
>> What is the DocumentRoot in effect for this VirtualHost? Since one
>> isn't defined in the VirtualHost, what is the server's global
>> DocumentRoot?

> There was none, or it was some sort of default value. I set it manually
> to /var/www/svn, and created that folder and made sure it was
> world-readable (owner root.root, chmod 755). Then I tried the "svn co"
> again, and this time my svn-error.log (as mentioned in the previous
> Apache config) now shows the following:

> [Mon May 18 04:04:24 2009] [error] [client 128.2.52.249] client denied
> by server configuration: /var/www/svn/ascend

> This confirms that it the HTTP request is being processed by the correct
> <VirtualHost> but also that something strange is happening; the
> <Location /ascend> for our ASCEND subversion repository is not being
> activated for this particular case, EVEN THOUGH when I do it from
> anotehr machine, IT IS, and the request in that case works fine, as
> expected.

Look for Allow/Deny directives in httpd.conf prior Virtualhost definition, or
add one
Allow from all
to your Subversion virtualhost.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 18.05.2009, <17:38>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2299928
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-18 15:41:26 CEST

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.