I am new to Subversion, and my project requires that I access my repository through http.
I already created the repository on my hosted server (bluehost, centos7), and I am trying to access it from another computer through http.
From reading some tutorial (this among others), I understand that I need to configure subversion.conf file, which should be located on '/etc/httpd/conf.d/'.
When I looked at that location, I didn't see that file. In addition, the tutorial says that the configuration file should reference 'mod_dav_svn.so' and 'mod_authz_svn.so' modules.
Talking to support, I understood that subversion was not initialized with mod_dav_svn, so I set it up myself. However, I didn't find the 'mod_dav_svn.so' and 'mod_authz_svn.so' in the '/usr/local/apache/modules/' folder. Instead I found them in the '/usr/lib64/httpd/modules/' folder.
Currently, when I try to access my repository (using TortoiseSVN), I get several kind of errors, depending the url that I try to use (with/without 'trunk' at the end, not sure what I need to use):
- Redirect cycle detected for URL (http://example.com/path/to/repos/RepoName)
- Unexpected HTTP status 405 'Method Not Allowed' (http://example.com/path/to/repos/RepoName/trunk)
when I checkout the repo locally on the server, I use: svn co file:///path/to/repos/RepoName/trunk
when I surf to:
I just see the repository created folders (conf,db,hooks,locks). I don't get to see a request for password, or the "Revision 0", or my own repository project.
my "/etc/httpd/conf.d/subversion.conf":
LoadModule dav_svn_module /usr/lib64/httpd/modules/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib64/httpd/modules/mod_authz_svn.so
# Add the following to allow a basic authentication and point Apache to where the actual
# repository resides.
<Location /repos>
DAV svn
SVNPath /path/to/repos/
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-conf
Require valid-user
</Location>
apache error log:
[error] [client xxx.xxx.xxx.xxx] File does not exist: /path/to/repos/RepoName/trunk
I am completely lost. What do I need to do now in order to be able to checkout the repository using TortoiseSVN?