First of all, please modify the Location section in /etc/httpd/conf.d/subversion.conf
like so:
<Location /repos>
DAV svn
SVNParentPath /home/svn/repos
SSLRequireSSL
Require valid-user
AuthType Basic
AuthUserFile /etc/httpd/local/svn-auth
AuthName "SVN Authorization"
AuthzSVNAccessFile /etc/local/httpd/svnauthz.conf
</Location>
|
If you want SSL, also modify /etc/httpd/conf.d/ssl.conf
like:
# Server Certificate:
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
# Server Private Key:
SSLCertificateKeyFile /etc/pki/tls/private/dchen.key
# Certificate Authority (CA):
SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt
|
Refer following links for certificate generation:
Self-signed SSL Certificate for testing purposes
Real SSL Certificate
After this, and it’s important, check the SELinux setting.
The quick workaround is, of course, set it to either permissive mode or disable it.
But it is better to set SELinux label accordingly.
Execute following commands:
setsebool -P httpd_unified=1
|
Please refer man 8 httpd_selinux
or http://fedoraproject.org/wiki/SELinux/apache for further information.