Get giTorrent
Download gitorrent and unzip into you webroot.
For this I created a sub directory "gitorrent" and unpacked into there.
Configure:
GITORRENT:
Edit gitorrent/gihome/JSXAPPS/giTorrent/giTorrentConfig.xml and enter your details.
Security:
.HTACCESS:
For me, I do the following. This just forces SSL:
SSLOptions +StrictRequire
SSLRequireSSL
SSLRequire %{HTTP_HOST} eq "cdstealer.com"
ErrorDocument 403 https://cdstealer.com/error/403.html
AuthType Basic
AuthUserFile /path/to/my/htpasswd
AuthName "Please enter your username and password."
require valid-user
I believe if everything is correct and has been restarted ie apache & rtorrent, pointing your browser to https://<your_domain>/gitorrent/apps/giTorrent.html should start the GUI. If you have no active torrents, clicking on the "settings" tab should display completed port settings etc. This shows that everything is working.
Sometimes you just don't have ssh access to your server ;) This is where web based applications come in really handy. There are a few web frontends for rtorrent. See here
I'm not going to go into detail on how to setup rtorrent or apache, only how to setup for the guis.
Install the apps:
Emerge rtorrent with xmlrpc enabled:
net-p2p/rtorrent-0.8.6-r1 USE="ipv6 xmlrpc -daemon -debug"
Emerge the scgi apache module:
www-apache/mod_scgi-1.13
Emerge xmlrpc
dev-java/xmlrpc-2.0.1 USE="-doc -examples -source -test"
Configure:
APACHE:
Add "-D SCGI" to APACHE2_OPTS in /etc/conf.d/apache2
Add "LoadModule scgi_module modules/mod_scgi.so" to /etc/apache2/httpd.conf
Add "SCGIMount /RPC2 127.0.0.1:5000" in the <VirtualHost _default_:443> of /etc/apache2/vhosts.d/00_default_ssl_vhost.conf (you can also this for non ssl if security is not an issue)
RTORRENT:
Add "scgi_port = localhost:5000" to your ~/.rtorrent.rc file
That should be the ground work for most frontends as rtorrent only uses XMLRPC.
Frontends (gentoo stylee)
GITORRENT
Linux and other fun things!