Http access to SVN, anyone?

Les Mikesell lesmikesell at gmail.com
Sat Dec 22 20:44:17 UTC 2007


Timothy Murphy wrote:
> On Saturday 22 December 2007 05:18:24 pm Les Mikesell wrote:
>> Gijs wrote:
>>>> Penrose
>>>> svn: PROPFIND request failed on '/var/www/svn/Maths/Penrose'
>>>> svn: PROPFIND of '/var/www/svn/Maths/Penrose': 405 Method Not Allowed
>>>> (http://localhost)
>>>> =========================================
> 
>> If you've installed the fedora subversion and mod_dav_svn packages, the
>> config will exist in /etc/httpd/conf.d/subversion.conf.  You just have
>> to uncomment the lines and adjust for your location.
> 
> I have indeed done that.
> From /etc/httpd/conf.d/subversion.conf :
> =========================================
> <Location /repos>
>    DAV svn
>    SVNParentPath /var/www/svn
> #
> #   # 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>
> =========================================

It should work, then, assuming you've taken the url mapping to /repos 
into account and made the target read/writable by apache.  You may find 
better error messages in /var/log/httpd/error_log.

-- 
   Les Mikesell
    lesmikesell at gmail.com





More information about the fedora-list mailing list