Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to set up an Apache2 server on Suse10. It currently serves pages for an internal website. I've installed Subversion and have the source for the internal website in version control and served with svnserve, all successfully. However, the corporate firewall doesn't allow the svnserve port (I've tested it with an unfirewalled machine, and it works). Therefore, I'm trying to get both the internal website and subversion access served by the same apache server - how do I do this?

I've tried editing httpd.conf according to http://svnbook.red-bean.com:

# Subversion Configuration
LoadModule dav_module           /usr/lib64/apache2/mod_dav.so
LoadModule dav_svn_module       /usr/lib64/apache2/mod_dav_svn.so

<Location /subversion>
    DAV svn
    SVNPath /var/svn/repos/
</Location>

but when I try to access the repository via the client

svn list http://xxx.xxx.xxx.xxx

I get the error "Repository moved temporarily to 'sitename/login/login.php'; please relocate." Obviously, the webserver is redirecting me towards the internal website, and not recognizing I'm trying to access the subversion repository.

share|improve this question

1 Answer 1

I figured it out. The key is to access the repository like this:

svn list http://xxx.xxx.xxx.xxx/subversion

Then it works as expected.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.