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

beginner question

From: <faheem_at_email.unc.edu>
Date: 2003-01-27 00:29:12 CET

Dear People,

I've been fiddling around with subversion on Debian Sarge, but without
a great deal of success. I have a number of questions, but here I'll
just ask one.

I am trying to configure apache2 correctly for network repositories.

I have in my /etc/apache2/mods-available/dav_svn.conf

# dav_svn.conf - Example Subversion/Apache configuration
#
# For details and further options see the Apache user manual.

# Location URL ... /Location
# URL controls how the repository appears to the outside world.
# In this example clients access the repository as
# http://hostname/svn/repos
Location /svn/repos

  # DAV svn

  # set this to
  # SVNPath /var/svn
    SVNPath /home/faheem/subversion

[authentication stuff all commented out. Don't want to bother with
this for the moment]

/Location

My subversion repository is at /home/faheem/subversion, and apache is
listening at port 8080 on localhost. Is it correct syntax if I refer
to the repository as

http://localhost:8080/svn/repos

My understanding from the subversion book is that this would be
automatically translated into meaning /home/faheem/subversion, see
below...

However, I am currently getting error messages like

svn: RA layer request failed
svn: PROPFIND of /: 405 Method Not Allowed

when I try to do anything.

I apologise if I seem clueless, but I'm not really familar with apache
or cvs, so I'm kind of jumping in at the deep end here.

I'm not subscribed, so email me a copy of any reponse if you wish,
though I will be checking back with the list archives later in any
case.
                                              Faheem.

*******************************************************************
At a later location in your configuration file, you now need to tell
Apache where you keep your Subversion repository (or
repositories). The Location directive has an XML-like notation,
starting with an opening tag, and ending with a closing tag, with
various other configuration directives in the middle. The purpose of
the Location directive is to instruct Apache to do something special
when handling requests that are directed at a given URL or one of its
children. In the case of Subversion, you want Apache to simply hand
off support for URLs that point at versioned resources to the DAV
layer. You can instruct Apache to delegate the handling of all URLs
whose path portions (the part of the URL that follows the server's
name and the optional port number) begin with /repos/ to a DAV
provider whose repository is located at /absolute/path/to/repository
using the following httpd.conf syntax:

Location /repos
  DAV svn
  SVNPath /absolute/path/to/repository
/Location
*******************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:18:36 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.