Http access to SVN, anyone?

Les Mikesell lesmikesell at gmail.com
Sun Dec 23 15:49:09 UTC 2007


Timothy Murphy wrote:
>
>> Please paste your /etc/httpd/conf.d/subversion.conf for inspection
> 
> With some comment lines removed:
> ----------------------------------------
> LoadModule dav_svn_module     modules/mod_dav_svn.so
> LoadModule authz_svn_module   modules/mod_authz_svn.so
> 
> <Location /repos>
>    DAV svn
>    SVNParentPath /var/www/svn
> #   SVNPath /var/www/svn/Penrose
> #
> #   # Limit write permission to list of valid users.
> #   <LimitExcept GET PROPFIND OPTIONS REPORT>
> #      # Require SSL connection for password protection.
> #      # SSLRequireSSL
> #
> #      AuthType Basic
> #      AuthName "Subversion Repository"
> #      AuthUserFile /etc/svn-auth-file
> #      Require valid-user
> #   </LimitExcept>
> </Location>
> ----------------------------------------
> I've actually tried with and without the authentication
> commented out in the above version.
> When trying with authentication I created the file /etc/svn-auth-file
> as suggested with
> 
>         $ htpasswd -cm /etc/svn-auth-file tim
> 
> But whatever I have tried so far has given the dreaded
> "405 Method Not Allowed".

What's the matching entry from /var/log/httpd/error_log?
You might have to allow indexing in your Options setting or something 
else that I've forgotten.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the fedora-list mailing list