Ok, I think I figured it out... This was done with ubuntu 9.04 with xampp.
make sure subversion is installed
Ok, I am officially lost. I just need to fin dthe webdav.so or whatever, but... I don't think i'm doing this right. = [ - Code: Select all
sudo apt-get install subversion
I used the default install path so change as needed.
You also need apache2 so you can grab the confs out of it
The first conf will be in /etc/apache2/mods-enabled
Grab the dav_svn.conf
and move it to the modules section.
More on this later
- Code: Select all
sudo gedit /opt/lampp/etc/httpd.conf
At the end of the file add
- Code: Select all
#Adding the SVN to this thing.
<Location /repos>
DAV svn
SVNPath $home/opt/svn/
AuthType Basic
AuthName "Subversion repository"
AuthUserFile etc/svn-password.pass
require valid-user
</Location>
The password creator thing is in /opt/lampp/bin/htpasswd
Ok, Next step.
This time we will need to create the account and password for our users.
if you are not in the bin folder in lampp please do so now
- Code: Select all
cd $home
cd /opt/lampp/bin/
now. Let's create our user
- Code: Select all
sudo htpasswd -cm /opt/lampp/etc/svn-password.pass username1
The -cm C tells it to make a new file M forces md5.
As for username1 type in the username you want
if done correctly, it should ask you for your password.
and to add more users
- Code: Select all
sudo htpasswd -m /opt/lampp/etc/svn-password.pass username2
if you need morree users just type the above code.
Next, Let's restart apache....
- Code: Select all
cd $home
cd /opt/lampp/
sudo ./lampp stopapache
sudo ./lampp startapache
'
Unkown dav provider CRAP lol...