subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: New To SVN
Date Fri, 23 Aug 2013 13:25:16 GMT
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
   ...
 </Location>

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

Mime
View raw message