View previous topic :: View next topic |
Author |
Message |
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Sun Apr 18, 2010 8:38 am Post subject: Authorization on Websvn |
|
|
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
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 |
|
|
|
|
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
|
|