[viewvc-users] viewvc-1.0.12 installation, svn not found error. however, it is there

EE Jan <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <OF1A81BAA0.FC535C57-ON8525786D.005495B8-8525786D.00574EEA@us.ibm.com>
Hi, I just download and installed viewvc-1.0.12 at Linux Red Hat 
Enterprise Linux Server release 5.2 (Tikanga)

my python is Python 2.4.3
my svn is svn 1.4.2

In my svnserve.conf, I have
        anon-access = none
        auth-access = write
        password-db = passwd

I have an entry in passwd
e.g.
kiki = fookiki

my svn repos  is : mymachine.domain:/u/myname/myrepos

I can access my svn: by the following command:(even from another window 
machine)
C:\temp>svn list svn://mymachine.domain/u/myname/myrepos --username kiki
Authentication realm: <svn://mymachine.domain:3690> 
d4a2b0c5-1da6-4b74-a054-23664d6a2b32
Password for 'kiki':
(after I enter password), I got:
d5/
d6/

I make the following change in viewvc.conf

svn_roots = svn: /u/myname/myrepos
default_root = svn
svn_path = /usr/bin/

and I also change my apache httpd conf  at /etc/httpd/conf/httpd.conf

ScriptAlias /viewvc /usr/local/viewvc-1.0.12/bin/cgi/viewvc.cgi

<Directory /usr/local/viewvc-1.0.12>
     Order allow,deny
     Allow from all
</Directory>

However, When I point my browser to http://mymachine.domain/viewvc

I got 
"an Exception Has occurred", 
svn not found! The wrong path for this repository was configured, or the 
server on which the Subversion tree lives maybe down. Please try again in 
a few minutes.


The svn is there. However, I think it cannot access due to username/passwd 
 (in my case, it will be kiki/kikifoo)
my question is how does viewvc know username and passwd?

Do I need to setup access control in my httpd.conf  (e.g. in the 
installation doc)
      <Location "<url to viewvc.cgi>/<modname_you_wish_to_access_ctl>">
        AllowOverride None
        AuthUserFile /path/to/passwd/file
        AuthName "Client Access"
        AuthType Basic
        require valid-user
      </Location>

How can I create the <modname_you_wish_to_access_ctl>? what is modname? is 
this is a simple dummy text
Can I do 
<Location "mymachine.domain/viewvc/myfoo_svn_access">
...
</Loation>

Thank you for your help
E.E.

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2718422

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.