[viewvc-users] viewvc+svnauthz+apache=user not found
Sean Erswell-Liljefelt <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <1291934414.19065.1283513737443.JavaMail.httpd__44743.2201043286$1283526022$gmane$org@localhost> |
Hi! OK I have a set up roughly described as this: - about 8 repos set up to use a common svnserve.conf, passwd and authz file which is stored under /some/path/ - viewvc using svnauthz as the auth mechanism apache set up with the following section for viewvc: <VirtualHost XXX.XXX.XXX.XXX:80> ServerName svn.mycompany.com DocumentRoot "/some/path/viewvc/bin/cgi" <Directory "/some/path/viewvc/bin/cgi"> DirectoryIndex viewvc.cgi AllowOverride All AuthType Basic AuthName "Please logon using your SVN Username & Password" AuthUserFile /some/path/passwd Require valid-user Options +ExecCGI AddHandler cgi-script .cgi </Directory> AddDefaultCharset utf-8 </VirtualHost> If I comment out the auth section of the httpd.conf, viewvc rightly takes me to the root with no permissions to see any repositories (obviously it is reading my authz file successfully) If I uncomment again it rightly prompts me for user/password, but even if I put in the correct user/password it just prompts again and the following can be seen in the http error.log [Fri Sep 03 11:26:52 2010] [error] [client 10.57.27.23] user someuser not found: / So it seems like it cannot read my passwd file correctly? Here is an anonymized version of that file jsut to show the formatting I am using: ### Its format is similar to that of svnserve.conf. As shown in the ### example below it contains one section labelled [users]. ### The name and password for each user follow, one account per line. [users] user1 = password user2 = password user3 = password Can anyone see the problem? the passwd file works fine for SVN. ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2655131 To unsubscribe from this discussion, e-mail: [[email protected]].