Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing svn: error after restarting apache

I've created my repository this way:

sudo svnadmin create /svn

After restarting apache i get this error:

Syntax error on line 16 of /etc/apache2/mods-enabled/dav_svn.conf: DAV not allowed here

# dav_svn.conf - Example Subversion/Apache configuration
#
# For details and further options see the Apache user manual and
# the Subversion book.
#
# NOTE: for a setup with multiple vhosts, you will want to do this
# configuration in /etc/apache2/sites-available/*, not here.

# <Location URL> ... </Location>
# URL controls how the repository appears to the outside world.
# In this example clients access the repository as http://hostname/svn/
# Note, a literal /svn should NOT exist in your document root.
#<Location /svn>

  # Uncomment this to enable the repository
  DAV svn

  # Set this to the path to your repository
  SVNPath /svn

Any idea?

Regards

Javi

like image 468
ziiweb Avatar asked Nov 28 '22 19:11

ziiweb


1 Answers

<Location /svn> got commented out, remove the # in front of it.

like image 199
Sander Rijken Avatar answered Dec 05 '22 13:12

Sander Rijken