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

Re: [PATCH] Expand explanation for 301 error in FAQ

From: <kfogel_at_collab.net>
Date: 2005-12-19 23:12:24 CET

Ben Collins-Sussman <sussman@red-bean.com> writes:
> Um, shouldn't the subversion repository be located at
> "/home/svn/myrepo"? The patch looks odd to me.

You can configure http://localhost/myrepo to serve a repository from
anywhere, including /home/svn/repo, so isn't his text right?

For reference, folks, the [new] paragraph in question is:

   <p>It'a also possible that you have an object in the web root
   which has the same name as your repository URL. For example,
   imagine your web server's document root is <tt>/var/www</tt>
   and your Subversion repository is located at
   <tt>/home/svn/repo</tt>. You then configure Apache to serve
   the repository at <tt>http://localhost/myrepo</tt>. If you then
   create the directory <tt>/var/www/myrepo/</tt> this will cause
   a 301 error to occur.</p>

The scenario he describes is exactly a case of having "an object in
the web root which has the same name as your repository URL", no?

If you s|the repository|/home/svn/repo| in the third sentence, it all
becomes clearer, maybe.

-Karl

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 20 01:36:43 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.