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

Re: Subversion Via Apache Question

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2005-04-04 23:35:32 CEST

This link will take you to the general Subversion documentation. There
is an installation section in there that should help you out somewhat as
well.

http://svnbook.red-bean.com/

And on to the next issue...
  Is the SVN folder you mention below the actual repository?? If so,
you do not need to specify the SVNParentPath, but rather the SVNPath.
Either that, or try change the SVNParentPath to point back one level
(/var/www/html) so that you would type http://yourserver/repos/svn to
access your repository. The SVNParentPath is there to allow you to
create multiple repositories and access them from an almost single URL.

Regards,
Frank

Eden Crane wrote:

>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:38:13 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.