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

403 Forbidden error when testing 'mod_dav_svn' enabled apache

From: Reza Mostafid <dar.beh.dar_at_gmail.com>
Date: 2006-09-30 14:56:50 CEST

Hi all,

I just managed to build http-2.2.3 and subversion-1.3.2
I have figured out the configuration ( install http first
then point svn's ./configure to where the apxs script is )

I wind up with a neat make and install resulting in the
mod_dav_svn.so and mod_authz_svn.so files to be built and
installed in http's /modules directory and the neccessary
lines inserted into httpd.conf

The Problem and what I observe:
===============================

* Firing up apache works fine. No errors.

* apachectl -M shows the svn modules are loaded as shared.

* I can test the server with the built in Firefox browser
  and I get the 'It works!' message.

* When I try to view the repository in the browser via
  http://localhost/repos I get an error:

  '403 Forbidden
   You don't have permission to access /repos on this server'

* When I try to list the repo contents using the svn client
  I have just built via http:

  # svn list http://localhost/repos

  I get

  # svn: PROPFIND request failed on '/repos'
  # svn: PROPFIND of '/repos' : 403 Forbidden ( http://localhost )

What I've tried and checked:
============================

I have checked the obvious such as setting permissions etc.

* The server runs as 'daemon' and the repo has been chown'ed
  ( -R ) recursively to 'daemon'

* The necessary directives are there in the httpd.conf file
  right after the LoadModule directives:

  <Location /repos>
     DAV svn
     SVNParentPath <my own repository path>
  </Location>

* The apache source tree was configured with

  ./configure --enable-mods-shared='all dav_lock'

* The svn source tree was configured with

  ./configure --with-apxs=<path to apxs script in http's bin>

What I am running:
==================

I am running Fedora Core 5 and have installed and configured SVN
before and I have been able to successfully access the repos over
a network throught the dav_svn enabled apache server.

I installed the SVN and http from tarballs

    http-2.2.3.tar.gz
    subversion-1.3.2.tar.gz

Thanks in advance for any forthcomming hints or suggestions

Regards

darbehdar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 30 14:57:24 2006

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