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

Re: NameVirtualHost's Root shoul be the root of subversion

From: Marcin Gil <mgil_at_vernet.pl>
Date: 2004-04-02 17:23:56 CEST

Lukas Ruf wrote:
> Dear all,
>
> another thing I do not really understand in the documentation of
> subversion as found in the svnbook is handling of repositories located
> directly at the root of a NameVirtualHost.
>
> I am on the way to configure a server called svn.rawip.org as follwos:
>
> Servername svn.rawip.org
> Documentroot /home/rawip/Svn
> <Location />
> DAV svn
> SVNParentPath /home/ruf/Svn
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /etc/apache2/dav_svn.passwd
> Require valid-user
> </Location>
>
> on the server, I create a repository:
>
> svnadmin create /home/ruf/Svn
>
> Now, I would like to access the svn-repository as follows:
>
> uccellina:~/Svn!120> svn mkdir https://svn.rawip.org:8443/Conf
>
I assume that apache listens on 8443 port, yes?
So if your svn location is '/', how apache can tell that you want svn or
 not? Maybe you want the webpage of svn.rawip.org document root?

'/' is a LOCATION, independent of URL YOU CHOOSE. Make it '/repo' or
something.

In your case if you have virtuals like virtu1.tld, virtu2.tld, ...,
virtun.tld AND subversion would take up every single '/' access you
would have NO ACCESS to ANY document root at ANY virtual host.

> This results in:
> svn: OPTIONS request failed on '/'
> svn: OPTIONS of '/': 500 Internal Server Error (https://svn.rawip.org:8443)
> svn: Your commit message was left in a temporary file:
> svn: 'svn-commit.4.tmp'
>
> And on the server:
>
> [info] Initial (No.1) HTTPS request received for child 3 (server svn.rawip.org:443)
> [info] Subsequent (No.2) HTTPS request received for child 3 (server svn.rawip.org:443)
> [error] Could not fetch resource information. [403, #0]
> [error] (2)No such file or directory: The URI does not contain the name of a repository. [403, #190001]
> [error] (20014)Error string not specified yet: Can't open file '/home/ruf/Svn/error/format': No such file or directory
> [error] Could not fetch resource information. [500, #0]
> [error] Could not open the requested SVN filesystem [500, #2]
> [error] (84)Invalid or incomplete multibyte or wide character: Could not open the requested SVN filesystem [500, #2]
>
> My questions:
>
> - Why does the server-log file report svn.rawip.org:443 although I am
> sure that there is no server listening at that port:
> komsys-pc-ruf:~!52> netstat -l | grep 443
> tcp6 0 0 *:8443 *:* LISTEN
>
> - What do I make wrong? Is there anything obvious?
>

-- 
  Marcin Gil
    email#   mgil : vernet   pl | GaduGadu ID# 185057
    JID# dentharg : histeria pl | http://marcin.gilusiowy.net

Received on Fri Apr 2 17:24:37 2004

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.