First of all, rutorrent works 100% adds/ deletes torrents and files, auto unpacks etc.
rtorrent/lib: 0.9.3/0.13.3
rutorrent/plugins: 0.3.5 svn $Rev: 2256
So my rtorrent.rc has:
Code:
encoding_list = UTF-8
scgi_port = 127.0.0.1:5000
#system.umask.set = 0002
log.execute = /home/nihim/rtorrent.log
config.php:
Code:
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";
and on lighttpd.conf:
Code:
server.modules += ( "mod_fastcgi" )
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php5-cgi"
)
)
)
server.modules += ( "mod_scgi" )
scgi.server = (
# "/RPC2" =>
# ( "127.0.0.1" =>
# (
# "socket" => "/tmp/rpc.socket",
# "check-local" => "disable",
# "disable-time" => 0
# )
# )
)
y I know it's commented out, with or without that part commented it makes no difference to rutorrent. I saw it been done on a guide so I tried it.
if i disable the rpc plugin from inside rutorrent (httprpc is already disabled) 1-2 sec later i get hit with errors and it doesn't work. So even though rtorrent and rutorrent communicate with scgi_port:5000, rutorrent seems to need rpc plugin.
So what am I using? rpc plugin or scgi? both? or I haven't understood how it works?
rtorrent/lib: 0.9.3/0.13.3
rutorrent/plugins: 0.3.5 svn $Rev: 2256
So my rtorrent.rc has:
Code:
encoding_list = UTF-8
scgi_port = 127.0.0.1:5000
#system.umask.set = 0002
log.execute = /home/nihim/rtorrent.log
config.php:
Code:
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";
and on lighttpd.conf:
Code:
server.modules += ( "mod_fastcgi" )
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php5-cgi"
)
)
)
server.modules += ( "mod_scgi" )
scgi.server = (
# "/RPC2" =>
# ( "127.0.0.1" =>
# (
# "socket" => "/tmp/rpc.socket",
# "check-local" => "disable",
# "disable-time" => 0
# )
# )
)
y I know it's commented out, with or without that part commented it makes no difference to rutorrent. I saw it been done on a guide so I tried it.
if i disable the rpc plugin from inside rutorrent (httprpc is already disabled) 1-2 sec later i get hit with errors and it doesn't work. So even though rtorrent and rutorrent communicate with scgi_port:5000, rutorrent seems to need rpc plugin.
So what am I using? rpc plugin or scgi? both? or I haven't understood how it works?