Hi Ryan,
Yes, I'd created the repository at /srv/svn/repos/project using the svnadmin command.
The alias command was part of the example file I was using - I've removed it and the directory thing now.
I'm fairly sure that the problem I have now (error code 2 - unable to open SVN filesystem) is due to file permissions, but even if I set full access to everyone, it still doesn't work. I've made sure that the repository is ok by using the svnlook command, and that seems ok, so I can't think what else it could be....
Keith
>>> Ryan Schmidt <subversion-2006c@ryandesign.com> 03/07/2006 13:54:14 >>>
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?
The information in this e-mail is confidential and intended to be solely for the use of the addressee(s) and may contain copyright and/or legally privileged information. If you are not the addressee (or responsible for delivery of the message to the addressee) please e-mail us at Postmaster@mouchelparkman.com and delete the message from your computer; copying, distribution, use or disclosure of its contents is strictly prohibited.
As Internet communications are capable of data corruption no responsibility is accepted for changes made to this message after it was sent. For this reason it may be inappropriate to rely on advice contained in any e-mail without obtaining written confirmation of it.
In addition, no liability or responsibility is accepted for viruses and it is your responsibility to scan attachments (if any).
Please note that for business purposes, outgoing and incoming emails from and to the company may be monitored and recorded.
Mouchel Parkman Services Ltd, Registered in England at West Hall, Parvis Road, West Byfleet, Surrey UK KT14 6EZ Registered No : 1686040
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 3 15:01:14 2006