Improved Backup and Restore Utilities give you the ability to backup and restore Plesk server settings through command line interface.How cool is this? Subversion on CentOS
(custom field - sponge value 1 via wp-unformatted plugin to tackle p-offset bug)
* Only Root users can create vhost.conf files.
* After you make changes to the conf files, you have to tell Plesk to reload the new configuration. To do so, run
#/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=
For more information, please consult the Plesk’s Admins Guide on sub-domain customization
An Image here:
D. Customizing Sub-Domain configurations
As I created a subdomain “svn” for my site, makefun.us, I had to create a vhost.conf file under /var/www/vhosts/makefun.us/subdomains/svn/conf/vhost.conf. Also, my repository is under /var/svnrepo/, so here is the content of the vhost.conf file
#svn.makefun.us — vhost.conf file
DAV svn
SVNPath /var/svnrepo/
AuthType Basic
AuthName “Makefun.us Subversion Repository”
AuthUserFile /etc/svn-auth-file
Require valid-user
First of all, with DAV svn we ask Apache to hand over to the mod_dav_svn module when there’s a request to http://svn.makefun.us (the location /). Then we specify the repository’s root at /var/svnrepo/. Then we specify that this is a private repository by asking Apache to provide Basic Authorization (which means the authenticated password will be transmitted as text via the wire). Well, we name our private zone the “Makefun.us Subversion Repositor” and the user accounts are stored in /etc/svn-auth-file. Finally, to access the repository via the web, the user must be able to authenticate – as we only allow valid-user to access (Require valid-user)
Next, I created a new user account for myself so that I can access the repository:
#htpasswd -c /etc/svn-auth-file my_user_name
At this point, you can either restart Apache by running #server httpd restart or just use the websrvmng of Plesk to pick up the new configuration. I just restarted Apache. If everything works out correctly for you, if you point your browser to http://svn.yourdomain.com, you would see a prompt for username and password. Enter your just created account, you can access to your very own the SVN repository. How amazing is that?
Published under: UncategorizedTags: subversion • update • wordpress




