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

Re: Problems with Apache config to support SVN

From: Arthur Pesa <apesa_at_arthurpesa.com>
Date: Wed, 09 Feb 2011 21:25:39 -0800

Ok, Thanks to all who answered.. It was the URL, instead of
http://localhost/SVN it is http://localhost/SVN/SVN . It must be due to
the SVNParentPath?? ANyway, I am connected and it works..

Many thanks,
Pat

On Wed, 2011-02-09 at 21:19 -0800, Arthur Pesa wrote:
> Same error message from Eclipse. Same debug and error messages in the
> error.log.
> I am going to double check the plugins, but I have already gone through
> all of them. Here is some error logging from Apache.
>
> [Wed Feb 09 21:17:26 2011] [debug] mod_deflate.c(615): [client
> 127.0.0.1] Zlib: Compressed 476 to 322 : URL /SVN
>
> [Wed Feb 09 21:17:26 2011] [error] [client 127.0.0.1] Could not fetch
> resource information. [301, #0]
>
> [Wed Feb 09 21:17:26 2011] [error] [client 127.0.0.1] (2)No such file or
> directory: Requests for a collection must have a trailing slash on the
> URI. [301, #0]
>
> [Wed Feb 09 21:17:26 2011] [debug] mod_deflate.c(615): [client
> 127.0.0.1] Zlib: Compressed 304 to 223 : URL /SVN
>
> [Wed Feb 09 21:17:26 2011] [error] [client 127.0.0.1] Could not fetch
> resource information. [301, #0]
>
> [Wed Feb 09 21:17:26 2011] [error] [client 127.0.0.1] (2)No such file or
> directory: Requests for a collection must have a trailing slash on the
> URI. [301, #0]
>
> Thanks,
> Pat
>
>
>
> On Thu, 2011-02-10 at 05:37 +0100, Roch Auburtin wrote:
> > Could you try to remove:
> > <Directory ...> </Directory>
> > AuthBasicProvider file
> > SVNPathAuthz off
> >
> > On 10/02/2011 05:12, Arthur Pesa wrote:
> > > Thanks for the help, I removed the DAV reference in<DIRECTORY> and
> > > removed the Alias reference and added that path to the Repo in
> > > SVNParentPath as suggested. I am, still getting the same error.
> > >
> > > Location Information has been specified incorrectly
> > > Svn: Malformed XML
> > > Keep Location Anyway
> > >
> > > This is all the Apache config I have:
> > >
> > > <Directory /home/apesa/Development/SVN>
> > > AllowOverride All
> > > Order allow,deny
> > > Allow from all
> > > </Directory>
> > > #
> > > <Location /SVN>
> > > DAV svn
> > > SVNListParentPath on
> > > SVNParentPath "/home/apesa/Development"
> > > AuthName "SVN"
> > > AuthType Basic
> > > SVNPathAuthz off
> > > AuthBasicProvider file
> > > AuthUserFile "/home/apesa/Development/passwords"
> > > Require valid-user
> > > </Location>
> > >
> > > Am I missing some corresponding configuration in the Repo?
> > >
> > > Pat
> > >
> > > On Wed, 2011-02-09 at 13:41 -0600, Ryan Schmidt wrote:
> > >> On Feb 9, 2011, at 12:31, Arthur Pesa wrote:
> > >>
> > >>> Alias /SVN /home/apesa/Development/SVN
> > >> Remove this "Alias" line.
> > >>
> > >>
> > >>> <Directory /home/apesa/Development/SVN>
> > >>> AllowOverride All
> > >>> DAV svn
> > >> Remove this "DAV" line.
> > >>
> > >>
> > >>> <Location /SVN>
> > >>> DAV svn
> > >>> SVNListParentPath on
> > >>> SVNParentPath "/SVN"
> > >> [snip]
> > >>
> > >>> I created the svn Repo with the following syntax:
> > >>> $svnadmin create /home/apesa/Development/SVN
> > >> The SVNParentPath line should read "SVNParentPath /home/apesa/Development" if you are going to create other repositories (or "SVNPath /home/apesa/Development/SVN" if you only are going to have this single repository).
> > >>
> > >>
> > >
> >
>
>
Received on 2011-02-10 06:26:40 CET

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.