<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
After upgrading to Fedora 12, I installed and tried to set up a
Subversion repository with mixed success. I have worked out the bulk
of the issues but one still has me stumped. Hopefully, someone on this
list knows the answer or can point me to a URL that does.<br>
<br>
The problem is that I cannot get Subversion to work with Apache 2.2.
Every time that I try to checkout the repository, I receive a 403
Forbidden Access error. To make matters more frustrating, if I access
the repository using local access (<a class="moz-txt-link-freetext" href="file:///">file:///</a>...) the command works. It
is only when I try to use HTTP/WebDAV access (<a class="moz-txt-link-freetext" href="http://localhost/svn/">http://localhost/svn/</a>...)
does the access problem occur.<br>
<br>
Things that I have tried:<br>
<br>
- SELinux enabled and disabled -- no difference.<br>
<br>
- Various permissions and ownerships.<br>
-- The repository and Subversion directories are currently owned by
apache.apache.<br>
<br>
- Various settings in my subversion.conf file for httpd. <br>
-- When the <LimitExcept> section is commented out, the failure
comes on the third<br>
"PROPFIND /svn/Home/sfbooks/trunk HTTP/1.1" request. The first
two return 207 <br>
while the third one returns 403. Using Wireshark, all three
requests are identical<br>
barring numbers in the IP headers.<br>
-- When the <LimitExcept> section is active, the failure comes
on the very first request,<br>
"OPTIONS /svn/Home/sfbooks/trunk HTTP/1.1" request with a 403
response.<br>
-- Both 403 responses contain the same reason: "You don't have
permission to access<br>
/svn/Home/sfbooks/trunk\n on this server."<br>
<br>
Any suggestions will be appreciated.<br>
<br>
Setup:<br>
<br>
Root Subversion Directory: /opt/Subversion<br>
Repository Parent Directory: /opt/Subversion/repos<br>
Password File: /opt/Subversion/users/passwords
(created using htpasswd)<br>
SVN Authz Config File:
/opt/Subversion/permissions/svnauthz.conf<br>
<br>
Repository: Home (located at
/opt/Subversion/repos/Home)<br>
Project within Home Repo: sfbooks/trunk<br>
<br>
Content of passwords:<br>
steven:MD5PasswordHash<br>
<br>
Content of svnauthz.conf<br>
[/]<br>
steven=rw<br>
<br>
Content of conf.d/subversion.conf<br>
<br>
LoadModule dav_svn_module modules/mod_dav_svn.so<br>
LoadModule authz_svn_module modules/mod_authz_svn.so<br>
<br>
Alias /svn /opt/Subversion/repos<br>
<br>
<Location /svn/><br>
# mod_dav Commands<br>
DAV svn<br>
DavDepthInfinity on<br>
<br>
# SVN Provider Commands<br>
SVNParentPath /opt/Subversion/repos<br>
<br>
# authz_svn_module Commands<br>
AuthzSVNAccessFile /opt/Subversion/permissions/svnauthz.conf<br>
<br>
<br>
<LimitExcept GET PROPFIND OPTIONS REPORT><br>
# Authentication Commands<br>
AuthType Basic<br>
AuthName "Subversion Repository Login"<br>
AuthUserFile /opt/Subversion/users/passwords<br>
Satisfy Any<br>
Require valid-user<br>
</LimitExcept><br>
<br>
# <Limit GET PROPFIND OPTIONS REPORT><br>
# Order Allow,Deny<br>
# Allow from All<br>
# </Limit><br>
<br>
</Location><br>
<br>
<br>
<div class="moz-signature">-- <br>
<div> Steven F. LeBrun<br>
<p>
Quote: <em>"Winter meant the coming of the lazy wind, which couldn't
be
bothered to blow around people and blew right through them instead."</em><br>
-- Terry Pratchett, from <em>"Wyrd Sisters"</em></p>
</div>
</div>
</body>
</html>