You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Craig <Mi...@freeclear.com> on 2006/03/09 20:11:00 UTC

Help setting up Apache and SVN

Does anyone have experience with Apache and Subversion on Windows?

 

I have subversion installed and have imported my repository. I am able
to checkout files as well to a local drive.

However, I am unable to get access to my repository using Apache. I
believe the basic auth is working as explained in
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.serverconfig.ht
tpd since I am able to browse http://localhost/svn enter my credentials
and then get a 403 Forbidden error.

 

Here is my configuration:

 

Apache2 service

Running as local user 'Apache2' which is member of local Administrators
group

I can browse http://localhost <http://localhost/>  and get the main
Apache web page

 

Httpd.conf

# Subversion

<Location /svn>

  DAV svn

  # any /svn/foo URL will map to a repository C:/svn/foo

  # I've only got it working using SVNPath!!

#  SVNPath e:/src

  SVNParentPath e:/svn_repository

  AuthType Basic

  AuthName "Subversion repository"

  AuthUserFile e:/svn_repository/.htaccess

 

  # For any operations other than these, require an authenticated user.

  <LimitExcept GET PROPFIND OPTIONS REPORT>

    Require valid-user

  </LimitExcept>

 

</Location>

 

Subversion

Repository installed at e:\svn_repository

Files checked out locally to e:\src

 

Apache error.log entries

[Thu Mar 09 12:00:02 2006] [error] [client 127.0.0.1] Could not fetch
resource information.  [500, #0]

[Thu Mar 09 12:00:02 2006] [error] [client 127.0.0.1] Could not open the
requested SVN filesystem  [500, #720003]

[Thu Mar 09 12:00:02 2006] [error] [client 127.0.0.1] Could not open the
requested SVN filesystem  [500, #720003]

[Thu Mar 09 12:00:07 2006] [error] [client 127.0.0.1] Could not fetch
resource information.  [403, #0]

[Thu Mar 09 12:00:07 2006] [error] [client 127.0.0.1] The URI does not
contain the name of a repository.  [403, #190001]

 

 

Any help is appreciated, and if you work in downtown Seattle, I might
just buy you lunch!

 

Thanks,

 

Mike