Thanks, Ryan.
I didn't realize that Apache reads all files in conf.d, not just *.conf.
My old locations definition file, renamed with a .bak extension,
contains SVNPath definitions. That must have caused a conflict when
creating a parent path with that name and of course, it explains why the
/svn/ paths to existing repositories continued to work. I added "~" to
the end of my .bak file, making it a backup which Apache seems to know
enough to ignore.
Silly mistake. But now everything works as expected.
Thanks.
Ryan Schmidt wrote:
> On Sep 9, 2008, at 7:27 PM, Jonathan Coles wrote:
>
>> SVNParentPath will not work if my Location is '/svn/'. Other names
>> are OK.
>>
>> I have a some repositories under /home/svn/docrepos. My Location
>> statement is:
>>
>> <Location /svn/>
>> DAV svn
>> SVNParentPath /home/svn/docrepos
>> ....
>> </Location>
>>
>> When I try to gain access using the URL
>> "http://<server>/svn/myproduct", I get the "Could not open the
>> requested SVN filesystem" error. The Apache error log includes "Can't
>> open file '/home/svn/docrepos/svn/format'.." (Surely the correct path
>> would be '/home/svn/docrepos/myproduct/format'.)
>>
>> If I change the Location to something else, '/repos/' for example, I
>> have no problem accessing my repository with the URL
>> "http://<server>/repos/myproduct". This is as expected and tells me
>> my configuration is correct. But all I changed was a name. Is there
>> something special about the name "svn"? There is no web content with
>> that name to cause a conflict.
>>
>> Even more strange, I can now also access my repository using the URL
>> "http://<server>/svn/myproduct". That makes no sense at all! There is
>> nothing to link that location with the repository!
>>
>> Any idea what is going on here?
>
> You're saying you can access your repository using
> http://<server>/svn/myproduct even though there is no <Location /svn/>
> directive?
>
> I assume someone else already set up a <Location /svn/> directive for
> you and you just don't know it. Maybe another administrator, or maybe
> your OS distribution provided it. Search *all* your Apache
> configuration files, not just the main httpd.conf but also all extra
> conf files it might include.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-10 03:03:21 CEST