From ArchWiki
Revision as of 14:03, 18 May 2013 by Fengchao (Talk | contribs) (Nginx: Root previlege needed.)

Jump to: navigation, search

Template:Article summary start Template:Article summary text Template:Article summary end

ruTorrent is a web interface to rtorrent (a console based BitTorrent client). It uses rtorrent's build-in xmlrpc server to communicate with it.

It is lightweight, highly extensible, and is designed to look similar to uTorrent.


Install rutorrentAUR and optionally rutorrent-pluginsAUR from the AUR.

Web Server Configuration


Install and configure Apache with PHP according to the LAMP page.

  • Edit the open_basedir value in /etc/php/php.ini to include:

Install mod_scgiAUR from the AUR.

  • Load the SCGI module in /etc/httpd/conf/httpd.conf:
LoadModule scgi_module modules/
  • Enable SCGI on the port you chose for rTorrent by adding this to /etc/httpd/conf/httpd.conf:
  • Lastly, add the ruTorrent folder to /etc/httpd/conf/httpd.conf with something similar to this:
<IfModule alias_module>
  Alias /rutorrent /usr/share/webapps/rutorrent
  <Directory "/usr/share/webapps/rutorrent">
    Order allow,deny
    Allow from all
Note: You should enable authentication through Apache if your site is public.


  • Edit the open_basedir value in /etc/php/php.ini to include:
  • Add following location to your nginx configuration:
           location /RPC2 {
               include scgi_params;
               scgi_pass localhost:5000;
  • Restart nginx:
# systemctl restart nginx

ruTorrent Configuration

See upstream wiki here.

See Also

External Links