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

Re: Apache2 - Subversion configuration

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-07-03 14:54:14 CEST

On Jul 3, 2006, at 14:39, Keith Rogers wrote:

>>> <IfModule mod_dav_svn.c>
>>> <IfModule mod_alias.c>
>>> Alias /repos "/srv/svn/html"
>>> </IfModule>
>>> <Directory /srv/svn/html>
>>> Options +Indexes +Multiviews -FollowSymLinks
>>> IndexOptions FancyIndexing \
>>> ScanHTMLTitles \
>>> NameWidth=* \
>>> DescriptionWidth=* \
>>> SuppressLastModified \
>>> SuppressSize
>>>
>>> order allow,deny
>>> allow from all
>>> </Directory>
>>> <Location /repos/project>
>>> DAV svn
>>> SVNPath /srv/svn/repos/project
>>>
>>> </Location>
>>>
>>> </IfModule>
>>
>> Is the Alias directive confusing it? I'm no expert on Apache
>> configuration, but that looks like a possible culprit.
>>
>> Which user does Apache run as? Does that user have full read/write
>> access to /srv/svn/repos?
>
> Okay, that seemed to be the user permissions - some combination I
> hadn't tried! Now I get the following message:
>
> <D:error>
> <C:error/>
> <m:human-readable errcode="2">
> Could not open the requested SVN filesystem
> </m:human-readable>
> </D:error>
>
> I've set the permissions on the repository to be the same as for
> the parent folders (i.e. the same as the change that switched me
> from getting generic http 403 errors to this kind)

And there is a directory /srv/svn/repos/project on your hard drive?
You created it with "svnadmin create /srv/svn/repos/project"? It does
sound like that's what you're wanting.

On the off chance that you're in fact wanting to access the
repository /srv/svn/repos, you would presumably want:

<Location /repos>
    DAV svn
    SVNPath /srv/svn/repos
</Location>

Regardless, Steve's suggestion about the Alias directive for /repos
is also worth investigating. Why do you have that? It looks like
you're maybe doing a directory listing of all repositories? If so,
are you aware of SVNParentPath and the Subversion 1.3+ directive
SVNListParentPath?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 3 14:56:07 2006

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.