SVN Error E175002 while checking out code from repository
After long research, I finally found a solution the solution was to put allow from all
in the svn configuration on httpd.conf
:
<Directory /repos>
...
allow from all
...
</Directory>
The svn checkout is working fine now
The above are for apache 2.2
if you use apache 2.4
<Directory /repos>
...
require all granted
...
</Directory>
I had 2 issues:
a) The svn
folder was not readable by apache user
b) Possibly the Directory
was not setup correctly
In my example, SVN repository is installed under /home/svn
.
1) chown apache.svn -R /home/svn
2) Modify subversion.conf:
<VirtualHost svn.xxx.com:443>
ServerName svn.xxx.com
DocumentRoot /home/svn/
<Directory "/home/svn/">
AllowOverride None
Order allow,deny
Allow from all
Options None
</Directory>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/pki/tls/certs/ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key
<FilesMatch "\.(cgi|shtml|jsp|html|htm|php?)$">
SSLOptions +StdEnvVars
</FilesMatch>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog /var/log/httpd/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
alias /svn /home/svn
<Location /svn>
DAV svn
SVNPath /home/svn
SVNListParentPath On
AuthType Basic
AuthName "Repositorio Subversion"
AuthUserFile /etc/httpd/dav_svn.passwd
Require valid-user
allow from all
</Location>
</VirtualHost>
In my case I had E175002
because of missing DNS records of Subversion server.