freelance84 Posted November 12, 2012 Share Posted November 12, 2012 I think my server has been hacked but I cannot be sure. I had installed and got running svn on ubuntu 12.04. After installing I got one machine to checkout the repository on username joe. Last night I checked out the repository on my own machine on username john. But suddenly today I get this message when trying to commit: 'ERROR Repository moved temporarily to 'http://www.mydomain.com'; please relocate' I don't know where to start looking here, some search results indicate it might be a hook script, other say sloppy config files. I have svn installed with webDAV. The config file is: /etc/apache2/mods-available/dav_svn.conf: <Location /backuprepos/filesystem> DAV svn SVNPath /home/backuprepos/filesystem AuthType Basic AuthName "filesystem subversion repository" AuthUserFile /etc/subversion/passwd Require valid-user </Location> The passwords I added to the following file: htpasswd -c /etc/subversion/passwd user_name Really need to some help here, this happened to me before, i removed the .svn repository made a new one but I kept getting the same error; so ended up rebuilding my server based on an image. Has anyone dealt and beaten this problem before? Quote Link to comment https://forums.phpfreaks.com/topic/270603-svndav/ Share on other sites More sharing options...
freelance84 Posted November 12, 2012 Author Share Posted November 12, 2012 At long last I found the answer to my problem. We had a htaccess blanket rule for all 404's which redirected to the index SVN apparently uses 404 (not found) errors in order to add new resources. Thus the 404 redirected the svn to the root. I needed to allow this one to pass through instead of making a redirection. To test this i removed the said htaccess file and all started working fine. Quote Link to comment https://forums.phpfreaks.com/topic/270603-svndav/#findComment-1391900 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.