LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SVN and Apache, multiple password prompts (https://www.linuxquestions.org/questions/linux-software-2/svn-and-apache-multiple-password-prompts-371599/)

watsoncj 10-10-2005 01:36 PM

SVN and Apache, multiple password prompts
 
I have configured apache and SVN w/ webdav so that users can access their repositories via http://host/svn/user/. Some users however are given a password prompt each time they click a new link in the repository. They authenticate fine, but they have to re-authenticate after each page change. The administrator, however, is able to log into the same user's repository on the same machine and browser with his own username and password with only one prompt for the entire session. Any Ideas?

/home/svn is recursively owned by apache.apache, and is chmod -R 770.

/etc/httpd/conf.d/subversion.conf
Code:

LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_svn_module extramodules/mod_dav_svn.so
LoadModule authz_svn_module extramodules/mod_authz_svn.so

<Location /svn>
  DAV svn
  SVNParentPath "/home/svn"
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/httpd/conf.d/svnusers
  AuthzSVNAccessFile /etc/httpd/conf.d/svnaccess
  Require valid-user
</Location>

/etc/httpd/conf.d/svnusers
Code:

adminuser:perfeclygoodhash
quirkyuser:anothergoodhash

/etc/httpd/conf.d/svnaccess
Code:

[groups]
admins = adminuser

[quirkyuser:/]
@admins=rw
quirkyuser=rw



All times are GMT -5. The time now is 02:51 AM.