These instructions show how to set up a new subversion repository on webfaction and make it web accessible. The first instructions are specific to Webfaction but later sections are more general.
Use the web panel to follow these instructions:
Subversion. Give it a name, e.g. svn (which is used in these example)/svn that uses the application you just created. This should make your subversion repository available under www.example.com/svn. If you load this you'll be asked for a username/password. If this happens you've set your subversion app correctly and you should now continue to set up a repository and appropriate access rights
These instructions show how to create a new repository called vault
svnadminsvnadmin create vault
For help using the svnadmin command try svnadmin help
It's possible to restrict access to your new subversion application by using Apache's built-in authentication system. Following these instructions will show how to do this:
cd to the directory containing your subversion installation:cd webapps/svn/
.htpasswd. You can add authentication details here using the htpasswd command. To add a user called lorcan, execute the following command:htpasswd .htpasswd lorcan
This will prompt for the username's password. When you enter this, a new line is added to the .htpasswd file containing the authentication information. If you reload the svn page in your browser (http://www.example.com/svn from the example above) this username/password combination should get you access. You can add new users or change existing user's passwords using this command.
You should now be able to use your url (http://www.example.com/svn in this example) in a subversion client and access your repository as normal.