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

AW: 301 Moved Permanently

From: Brandl, Thomas <tbrandl_at_barff.de>
Date: 2003-10-15 15:03:49 CEST

some more info, I actually forgot to mention:
subversion 0.27.0-29
subversion-server 0.27.0-29
apache2-2.0.47-67
db-4.0.14-249

How I created my repos:
/usr/local/svn/ <- ordinary dir
svnadmin create file:///usr/local/svn/project
svn mkdir file:///usr/local/svn/project/trunk

httpd.conf:
<VirtualHost _myip_>
        ServerName svn.mydomain.com
        DocumentRoot /usr/local/svn
        ErrorLog /logs/svn.mydomain.com-error_log
        <Location />
          DAV on
          SVNParentPath /usr/local/svn
          Order Deny,allow
          Deny from all
          Allow from 192.168
        </Location>
        <Location /project>
          SVNPath /usr/local/svn/project
        </Location>
</VirtualHost>

logs/svn.mydomain.com-error_log:
Could not fetch resource information.
Could not open the SVN filesystem at /
(2)No such file or directory: Expected version '1' of repository; found
no version at all; is '/' a valid repository path?

Still, there seems to be a problem with some path. This error occurs
when invoking
http://svn.mydomain.com:8080/project/trunk/

I have already tried every combination of paths and trailing slashes -
always the same error.

I also doubt having a clean subversion and/or berkeley installation. I
have compiled them by hand for the start, with --prefix=/usr/local and
switched to RPMs later after I had trouble getting subversion to
configure properly (had some trouble with apaches' DSO support..) I hope
there's no mix up of any libs...

> Installing svn is really a pin in the ass...
Missed an 'a' actually, but pin isn't bad either!

Cheers and thanks!
t

> -----Ursprüngliche Nachricht-----
> Von: Sander Striker [mailto:striker@apache.org]
> Gesendet: Mittwoch, 15. Oktober 2003 14:47
> An: Brandl, Thomas; Subversion User List (E-Mail)
> Betreff: RE: 301 Moved Permanently
>
>
> > From: Brandl, Thomas [mailto:tbrandl@barff.de]
> > Sent: Wednesday, October 15, 2003 2:43 PM
>
> > I was wrong! The thing I saw in the browser, was some svn generated
> > index! DAV wasn't set properly in the httpd.conf. I
> switched it on now
> > and get error 500:
> >
> > apache error-log:
> > Could not fetch resource information.
> > Could not open the SVN filesystem at /
> >
> > Strange thing is "at /". Should rather read "at
> > /usr/local/svn/myproject", but for some reason, it looks
> for the repos
> > in the root directory??!!
>
> Sounds like a misconfig.
>
> > Installing svn is really a pin in the ass...
>
> A pin in such a sensitive spot maybe painful...
>
> > Thanks again for ideas! If there's anything more I should provide as
> > information, let me know!
>
> How about the Location block from your httpd.conf?
> And maybe the output from your error log.
>
> Incidentally, have you read the fine book?
>
> http://svnbook.red-bean.com/
>
>
> Sander
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 15 15:04:23 2003

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.