You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Roberto <sm...@gmail.com> on 2008/12/19 22:17:03 UTC

svn and apache questions

Hi all,

 I'm trying to configure my apache to keep some private projects to only
certain users access but when I configure my httpd.conf to use
<LocationMatch "/svn/projectOne"> appears errors in error_log like this:
[Fri Dec 19 19:35:44 2008] [error] [client xxx] The URI does not contain the
name of a repository.  [403, #190001]

And when I use <LocationMatch "/svn/projectOne/"> appears erros in error_log
like this:
[Fri Dec 19 20:11:43 2008] [error] [client xxx] Could not fetch resource
information.  [403, #0]
[Fri Dec 19 20:11:43 2008] [error] [client xxx] (2)No such file or
directory: The URI does not contain the name of a repository.  [403,
#190001]


My httpd-svn.conf  is:

# Configure Subversion access
<Location /svn/>
       DAV svn
       SVNParentPath /svn/repos

       # Limit write permission to list of valid users.
       <LimitExcept GET PROPFIND OPTIONS REPORT>
             AuthType Basic
             AuthName "Subversion"
             AuthUserFile /svn/authfiles/svn-htpasswd
             AuthzSVNAccessFile /svn/authfiles/svn-access.conf
             Require valid-user
       </LimitExcept>
</Location>
<LocationMatch "/svn/projectOne">
             AuthType Basic
             AuthName "Subversion"
             AuthUserFile /svn/authfiles/svn-htpasswd
             AuthzSVNAccessFile /svn/authfiles/svn-access.conf
             Require valid-user
</LocationMatch>
-----

How can I do to make the policy <LocationMatch "/svn/projectOne"> private
work without giving errors in the apache?

Thanks,
Roberto Lima.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=987847

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].