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

RE: Re: Subversion Via Apache Question

From: Eden Crane <ecrane_at_pacwest.com>
Date: 2005-04-04 23:27:14 CEST

Thank you for your response! I just tried moving the repository to somewhere outside of Apache's DocumentRoot and repointed the SVNParent path in the <Location> tags, still does not work, same 403 error. Do you or anyone else have any ideas on what to try next?

For those of you who missed out on the fun earlier, here is the original post:

I am having some trouble getting Subversion to work over Apache. Can anyone help me?

I am running CentOS, and used it's bundled Apache 2 & Subversion packages.

1. I created a SVN Repository /var/www/html/mysvn
2. I edited the svnserve.conf file (probably unnecessary)
[general]
anon-access = write
auth-access = write
3. Did a chown -R apache.apache /var/www/html/mysvn
4. I confirmed my apache conf files have the modules dav_module,dav_fs_module,dav_svn_module,authz_svn_module
5. I edited my apache conf and added these lines in:

<Location /repos>
        Dav svn
        SVNParentPath /var/www/html/mysvn
</Location>

So unless I missed something I should be able to browse to http://<myserver>/repos and I'll have Subversion access. I can drop a html or text file in the /var/www/html directory and browse to it just fine. If I try to browse to the /repos, I get a 403 Access Denied page. Any suggestions? I read all the docs I could find but I am not an Apache expert. I am not sure if this Apache, DAV, or Subversion that is misconfigured.

Thank you!

Eden

-----Original Message-----
From: Robert Mohr [mailto:mohr.42@gmail.com]
Sent: Friday, April 01, 2005 7:20 PM
To: users@subversion.tigris.org
Subject: Re: Subversion Via Apache Question

On Apr 1, 2005 9:46 PM, Eden Crane <ecrane@pacwest.com> wrote:
> I am having some trouble getting Subversion to work over Apache. Can anyone help me?
>
> I am running CentOS, and used it's bundled Apache 2 & Subversion packages.
>
> 1. I created a SVN Repository /var/www/html/mysvn

Is this inside your DocumentRoot? If so, move it somewhere else.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 4 23:29:49 2005

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.