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

Re: New To SVN

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 23 Aug 2013 15:25:16 +0200

On Fri, Aug 23, 2013 at 06:38:42PM +0530, Deepak Bhatia wrote:
> Hello,
> Ok I created a repository by giving the absolute path to the directory.
> svnadmin create --fs-type fsfs /home/deepak/public_html/svn2
> Then importing a directory is giving the error
> -bash-4.2$ svn import -m "New Import" . http://demo.voxomos.com/~deepak/svn2
> svn: Repository moved permanently to 'http://demo.voxomos.com/~deepak/svn2/';
> please relocate

How did you configure HTTPD for Subversion exactly?

You'll need to add a <Location ...> statement to your httpd
configuration that maps a URL such as http://demo.voxomos.com/svn/
to the on-disk path /home/deepak/public_html/svn2.

Something like this:

 <Location /svn>
   SVNPath /home/deepak/public_html/svn2

Then use the URL http://demo.voxomos.com/svn/ to access the repositories.

More details at http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html
Received on 2013-08-23 15:25:49 CEST

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.