Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Authorization on Websvn
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Sun Apr 18, 2010 8:38 am    Post subject: Authorization on Websvn Reply with quote

I thought I will write a short note about how I got authorization to work under my box.I lived with this for quite sometime until today I think I got authorization to work under websvn.
There is a path to tell websvn where is the authorization file, but unfortunately if I specify this file it all goes wrong.That file is include/config.php at this line

Quote:
$config->useAuthenticationFile(''/etc/svnusers'');


Instead I wrote the authorization under /etc/apache2/modules.d/47_mod_dav_svn.conf OR under the virtual host that is being used to access the websvn.It will work fine to authorize users

Quote:
<Location /websvn>
AuthType Basic
AuthName "Authorization is required to access my reps"
AuthUserFile /etc/svnusers
Require valid-user
</Location>


That issue of uncommenting the line under include/config of the websvn is what confused me and got me stuck for quite sometimes :D

Complete reference of how to setup svn/websvn
REF:
http://en.gentoo-wiki.com/wiki/Subversion/WebDAV



Cheers
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum