Dear Support,
I am struggling to setup our first svn repository in a 4.12.4 Community Edition version.
I’ve followed the documentation (Subversion With Write Over HTTP), and the setup working more or less.
Apache configuration created; mod_dav_svn.conf generated, etc.
I can checkout an svn repository using the following url: http://1.1.1.1/svn-repogroup/svn-repo.
So the basic setup works fine.
However we have a bit complicated server setup:
The rhodecode server (IP 1.1.1.1) is mostly accessed through the following url: http://mycompany.com/rhodecode.
This is done by an apache reverse proxy, running on separate server. This proxy forwards every traffic to the rhodecode server if the url contains mycompany.com/rhodecode
Meaning, that accessing the mentioned svn repository should be done through http://mycompany.com/rhodecode/svn-repogroup/svn-repo.
But when I tried to checkout using this url, there was an error:
http://mycompany.com/rhodecode/svn-repogroup/svn-repo is not the same as http://mycompany.com/svn-repogroup/svn-repo (or something similar).
I’ve checked if I can access the repository at http://1.1.1.1:8090/rhodecode/svn-repogroup/svn-repo with a browser, but it was not possible. Instead it was accessible at http://1.1.1.1:8090/svn-repogroup/svn-repo.
I’ve modified the svn configuration part in the rhodecode.ini, and modified the svn.proxy.location_root to svn.proxy.location_root = /rhodecode.
After regenerating the apache config file I checked again, and http://1.1.1.1:8090/rhodecode/svn-repogroup/svn-repo was now working.
But still, using the proper url (http://mycompany.com/rhodecode/svn-repogroup/svn-repo) during checkout gives different kind of errors:
- 500 ‘Internal Server Error’
- 405 Method not allowed
Tried svn 1.9 as start on the client PC where I wanted to checkout the repository. Downgraded to 1.8 as I’ve found an old thread here where that was suggested. No difference.
Based on the apache error.log I’ve tried various additional things:
- modified the document root from /var/www/html to /repos in the apache conf (/repos is the directory where the repositories are stored on the server)
- Added read permission to everyone on this entry
But still, I have those 500, 405 errors when trying to checkout.
I think the problem is related to this extra twist in the reverse proxy setup. Probably not everything is forwarded, but I cannot figure out what is missing.
Kind regards,
Tamas