I am trying to set up an SVN server on an existing EC2 instance. My idea is to have the repository on S3, ie, I wish to make the SVN server point to the repository bucket on S3. These are the steps I performed:
yum install subversion
yum install mod_dav_svn
LoadModule dav_svn_module modules/mod_dav_svn.so ... <Location /svn> DAV svn SVNPath http://gyanify-svn.s3-website-us-east-1.amazonaws.com/ </Location>
sudo apachectl restart
However, after doing the above, I notice a couple of things:
sudo apachectl status
gives a 404 error HTTP Status 404 - -------------------------------------------------------------------------- type Status report message description The requested resource is not available. -------------------------------------------------------------------------- Apache Tomcat/7.0.32
sudo apachectl restart
gives the following: [Sun Dec 09 21:26:02 2012] [warn] module dav_svn_module is already loaded, skipping
Additional details that may/may not help:
Can someone advise what I'm missing here or what I'm not doing correctly?
This can't be done in this manner. SVNPath
is supposed to point to a local file path, not a URL.
You can try to mount your S3 bucket using a loopback mount with S3backer . I'm not sure I'd use something like this in production though. Make sure that you're getting solid backups of your repo.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.