[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: Wed, 20 May 2009 00:47:57 +0400

Greetings, John Pye!

>> Looking at your VH definition... it's messy.
>> Reduce the number of entities. Add next one only after you have the previous
>> work "as expected".
>> And put
>>
>> Order allow,deny
>> Allow from all
>>
>> Before <Location> blocks.
>>

> You can't put Order or Allow statements outside either <Location> or
> <Directory> tags, AIUI.

Still, it's messy.

Try starting from

<VirtualHost *:80>
        ServerAdmin john.pye_at_anu.edu.au
        ServerName ascendsvn.cheme.cmu.edu

        DocumentRoot /var/www/svn

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel debug
        ErrorLog /var/log/apache2/svn-error.log

        RedirectMatch ^/stats/?$ http://ascend.cheme.cmu.edu/awstats/awstats.pl?config=ascendsvn.cheme.cmu.edu

        #RedirectMatch permanent ^/$ /ascend

        CustomLog /var/log/apache2/svn.log combined
        ServerSignature On

        <Location />
                Order Allow,Deny
                Allow from all
                DAV svn
                SVNParentPath /home/svn
        </Location>

</VirtualHost>

And see how that would work.

Add new sections only when privious works stable (in this way, it will NOT
work without additional mumbo-jumbo. Why? Look my posts in archive)

> As far as I can tell rearranging as you suggest does not solve the problem.

> And anyway... this does address the fact that what I have is working
> perfectly for some clients (both svn co as well as svn up) but not for
> others...

I'm pretty much convinced you DO have Order or Deny directive affecting your
setup for those specific users somewhere in config.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 20.05.2009, <0:43>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2319037
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-19 22:51:23 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.