Forbidden Error : Don't have access to svn repository
hi folks,
I am getting one error when trying to access svn repository using pathbased authentication via apache( httpd.conf) Can anybody guide me how to write properly svn-auth-file(using htpasswd) and control file Forbidden Error : Don't have access to svn repository Thanks in advance Visu |
Quote:
http://linuxconfig.blogspot.com/ Quote:
|
svn and apache comaptability
hi friends,
i have svn 1.4.3 and apache 2.2.9 . i want to access svn using apache(http://...) it doesn't work any compatability problems? do we need specific versions to of each to configure ? plz post reply and one more problem when i am trying to configure svn 1.4.3 with apache 2.o.59 the module mod_dav_svn is not there in modules how can i get it. is there any solution without that ? plz reply Thanks Vsu |
Quote:
You say "it doesn't work"...how about posting an actual error message? Giving some useful information, would help us to answer you question. Also, you don't say anything about your environment, firewalls, or what version/distro of Linux you're using. And, if you have a new question, it's best to open a new thread for it, rather than shoving it on to the end of one that you haven't answered yet. And PLEASE spell out your words... |
svn and apache working fine but LDAP not working
hi friends
my svn access with apache is working fine. thanks for your suggestions. now I want to authenticate the same svn using LDAP. for that I am using OpenDS 1.2.0 in opensolaris environment. here i am getting some problem like ldap_simple_bind_s() failed.Can't contact server . i wrote httpd.conf and ldif file propely only but i didnot get where the error exactly. Can anybody share sample ldif file and resp httpd.conf plz... Thanks Visu |
Quote:
Quote:
|
svn with apache working fine
here is my solution
add the following in /etc/apache2/2.2/httpd.conf LoadModule dav_svn_module libexec/mod_dav_svn.so LoadModule authz_svn_module libexec/mod_authz_svn.so <Location /svn/repos> DAV svn SVNPath /absolute/path to your /repos AuthType Basic AuthName "Initial Repository Layout" AuthUserFile /etc/svn-auth-file # AuthzSVNAccessFile /path to your/svn/access/control require valid-user </Location> And give permissions properly [/] ---this was my problem i made it as [\] wrong |
I was getting 403 Forbidden error while trying to access SVN repository too. In my case the reason for this was invalid syntax in authz.conf file (this file is referred in apache config with AuthzSVNAccessFile directive).
Invalid file: Code:
[groups] Code:
[groups] ---------- Post added 11-28-13 at 09:55 PM ---------- BTW, if you need to make basic http auth in apache with more than one password file, you can use this manual: http://avz.org.ua/wp/2013/01/30/apac...assword-files/ |
All times are GMT -5. The time now is 05:53 AM. |