Thu, Oct 9, 2014
Read in 1 minutes
Learning the basic ropes of vhosts in Apache
I wrote before about the fact that I have moved my development env to an ubuntu machine. All was good, but I didn’t like the fact that I have created the SVN directory in the
public_html directory. So I
went about and moved it and added an alias to the apache conf file.
Long story short, you don’t need an apache alias if you use the svnserve svn protocol. The folder needs to be there, the correct access rights need to be in place, but the most important bit is to use
svnserve with the attributes
-r and make sure to point it at the root of the location the svn directories are and all will be fine.
So an example call to the svnserve would be
svnserve -d -r /your/directory
For a more detailed analysis see this link.