The binaries are stat, id, php, curl, gzip. Open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/bin We need to make a small change to the open_basedir line in /etc/php/php.ini, to allow rutorrent to access the binaries it needs to run. If you get error 500 (internal server error), make sure rTorrent is running. If it does not then something may be wrong. This should output a log list of methods that can be accessed through rtorrent's scgi interface. Make sure to use the same port as when configuring rtorrent.Īnd finally the fastcgi settings so lighttpd knows how to deal with php.Īt this point, you should be able to test if rtorrent and lighttpd's scgi are working properly using the xmlrpc command to ask rtorrent for a list of functions. Next we add the configuration for scgi to connect to rtorrent. ".tar.bz2" => "application/x-bzip-compressed-tar", ".tbz" => "application/x-bzip-compressed-tar", ".swf" => "application/x-shockwave-flash", ".pac" => "application/x-ns-proxy-autoconfig", ".torrent" => "application/x-bittorrent", Here is a long list of filetypes, it is probably overkill as most of them are not needed, but easier to cover them all. Otherwise it will not know what to do with them, and you may get a dialog to download the file or rutorrent will just not work properly. We need to tell lighttpd how to treat files like css, images (jpg etc.), js. Fast cgi is needed for rutorrent itself, and scgi for rutorrent to communicate with rtorrent. The following lines tell lighttpd to load the fastcgi and simple-cgi modules. Install Lighttpd and PHP: lighttpd php php-cgi fcgi.Īfter starting lighttpd as per the wiki, you should be able to access the test page at By default the pages are served from /srv/http, this is where we will be putting rutorrent.Įdit lighttpd's configuration file, /etc/lighttpd/nf. You can choose a port other than 5050 if you like. Instead of using a tcp port, it may also be possible to use a socket using the scgi_local option instead, however lighttpd may complain about permissions regardless of permissions / location of socket file. Rtorrent should be compiled with XML-RPC support.Īdd the following line to your rtorrent configuration file, usually ~/.rtorrent.rc. usr/share/webapps/rutorrent/conf/users/anotheruser/config.php usr/share/webapps/rutorrent/conf/users/rtorrentuser/config.php Create a folder with the user's name, then create a config.php, for example: Note: A multi-user setup will need user specific configuration files under /usr/share/webapps/rutorrent/conf/users for each user's socket location. $scgi_host = "unix:///home/rtorrentuser/rpc.socket" Edit the following location to your rutorrent configuration at /etc/webapps/rutorrent/conf/config.php where rtorrentuser is the user running rutorrent:.Enable the rTorrent XMLRPC interface: rTorrent#XMLRPC interface.Ln -s /usr/share/webapps/rutorrent/ /usr/share/nginx/html/rutorrent Create a link from your web root to rutorrent.Note: You should enable authentication through Apache if your site is public. Lastly, add the ruTorrent folder to /etc/httpd/conf/nfĪlias /rutorrent /usr/share/webapps/rutorrentĭocumentRoot /usr/share/webapps/rutorrent.ProxyPass /RPC2 scgi:///path/to/rpc.socket Enable SCGI on the socket you chose for rTorrent by adding this to /etc/httpd/conf/nf:.Enable the rTorrent XMLRPC interface on UNIX socket : rTorrent#XMLRPC interface.etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/ Edit the open_basedir value in /etc/php/php.ini to include:.If you are, for example, using Virtual Hosts, you should adapt those accordingly. It also supports adding titles from custom lists to autobrr filters.Note: The configuration examples below do not take your current Apache hosts into account. Omegabrr transforms monitored shows, movies, books and music from arrs into autobrr filters. Tools to help with versioning your bittorrent client's. A version of the default webUI that supports OS Dark Mode and is toggle-able, made using CSS properties and SASS. Non-official api to access Nyaa.si and (search, upload.) A web UI for rTorrent, qBittorrent and Transmission with a Node.js backend and React frontend. Adds torrents from RSS feeds to Transmission web frontend This little script will grab as many magnet links as you want from a text file, start downloading the meta data only and save it as a. Feature-filled Bittorrent client based on the Azureus open source project A web application built with AngularJS to track your favorite tv-shows with semi-automagic torrent integration When comparing qBittorrent-Controller and Electorrent you can also consider the following projects:
0 Comments
Leave a Reply. |