[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 16:45:26 CEST

> Should be 'DAV svn'
Yeah, sorry, had that. I have to re-type everything my linux box next to
me spits out...

got this now:

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

I'm not sure, whether to use SVNPath or SVNParentPath. I'm planning to
create multiple independent repositories under /usr/local/svn like
'svnadmin create file:///usr/local/svn/another_project'. As of what have
read, I should then make use of the SVNParentPath directive.

I tried both settings (with Internet Explorer - Opera behaves
differently!!):

SVNParentPath /usr/local/svn:
--------------------------------------------------
http://svn.barff.de:8080/project (w/o trailing slash)
Result: Can see auto-generated index file with the dirs I created
earlier with svn mkdir
error-log: nothing

http://svn.barff.de:8080/project/ (with trailing slash)
Result: Error 403
error-log:
=> Could not fetch resource information
=> No such file or directory: The URI does not contain the name of a
repository

SVNPath /usr/local/svn/project:
--------------------------------------------------
http://svn.barff.de:8080/project (with or w/o trailing slash)
Result: Can see auto-generated index file with the dirs I created
earlier with svn mkdir, can click on these dirs
error-log: nothing

I tried to access the repos with RapidSVN, which returns that "301 Moved
Permanently" error

I also changed the user:group for the /svn/project/db dir, so there's no
permission denied problem, but still:
wget -S http://svn.mydomain.com:8080/project/ returns some Content-type
text/html! It's supposed to be xml, if it were DAV?! All I get is this
svn generated index.html (footer is: Powered by Subversion version
0.27.0 (dev build).)

sigh....will I ever make it! I'm taking bets...

thanks guys!

best regards,
thomas

> -----Ursprüngliche Nachricht-----
> Von: Sander Striker [mailto:striker@apache.org]
> Gesendet: Mittwoch, 15. Oktober 2003 15:07
> 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 3:04 PM
>
> > 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 />
>
> Due to some old bug the '/' location doesn't work IIRC.
>
> > DAV on
>
> Should be 'DAV svn'
>
> > SVNParentPath /usr/local/svn
> > Order Deny,allow
> > Deny from all
> > Allow from 192.168
> > </Location>
> > <Location /project>
>
> Is missing a 'DAV svn' line.
>
> > SVNPath /usr/local/svn/project
> > </Location>
> > </VirtualHost>
>
>
> 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 16:46:06 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.