Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to install all what i need to start using svn for my source code, since i dont need to share my project i'm fine with doing everything on my localhost. My final goal is to connect to the repository on my localhost with Eclipse via subclipse. So, here all the steps i did I have installed svn ,apache2 and libapache2-svn web server on my ubuntu machine:

 which svn

which apache2

I have created a new sites in the /etc/apache2/sites-available/ directoy, a test site called svn, with the following conf:

<VirtualHost *>
LoadModule dav_svn_module modules/
ServerName svn.vd-devel
DocumentRoot /var/svn/guidasvn/
<Location /repos>
DAV svn
SVNPath /var/svn/guidasvn

I have then enabled the new site:

a2ensite svn

Which appears under the folder sites-enabled. Restarted the server:

sudo service apache2 restart

At this point i would expect everything to be fine, but, when i go to eclipse and do

 `Window>Open perspective>SVN Repository exploring> new repository location > http://svn.vd-devel/repo`s

I get the message that the location cannot be resolved, also if from the browser i do: (h)ttp://svn.vd-devel/repos then i get no answer, i can ping/curl-request my localhost properly, but i think that that points to my default virtual site, how can i point it to my newly made second site?


share|improve this question
up vote 1 down vote accepted

You need to add svn.vd-devel to you hosts file, like so: localhost svn.vd-devel

(Just add it to the existing line)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .