Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN Error E175002 while checking out code from repository

While trying to checkout code from a repository online I got the following error:

E175002: REPORT of '/repos/xxx/!svn/vcc/default'

I am trying to checkout the code from a remote computer.

like image 903
Muhannad A.Alhariri Avatar asked Jan 24 '13 19:01

Muhannad A.Alhariri


3 Answers

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>
like image 162
Muhannad A.Alhariri Avatar answered Oct 24 '22 09:10

Muhannad A.Alhariri


In my case I had E175002 because of missing DNS records of Subversion server.

like image 43
Fedir RYKHTIK Avatar answered Oct 24 '22 11:10

Fedir RYKHTIK


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>
like image 40
Cedric Simon Avatar answered Oct 24 '22 09:10

Cedric Simon