Hi,
I've just installed rutorrent 3.2 and stuck in following point:
My rtorrent:
Code:
[root@drober ~]# screen -x
*** rTorrent 0.8.6/0.12.6 - drober:11822 ***
[View: main]
(23:47:24) Using 'epoll' based polling.
(23:47:24) XMLRPC initialized with 519 functions.
(23:47:24) The SCGI socket is bound to a specific network device yet may still pose a security risk, consider using 'scgi_local'.
(23:47:24) Deprecated on_* commands, use 'system.method.set_key = event.download.{inserted, erased, ...}, <key>, <command>' inste
[Throttle 210/off KB] [Rate 0.1/ 0.2 KB] [Port: 6882] [U 0/52] [D 0/0] [H 0/32] [S 74/78/768] [F 35/128]
My rutorrent.conf:
Code
Listen *:5001
<VirtualHost *:5001>
DocumentRoot /srv/web/rutorrent
Include /etc/httpd/conf/conf.d/php*.conf
DirectoryIndex index.html index.php
<Directory /srv/web/rutorrent>
Options None
AllowOverride All
Order allow,deny
Allow from all
</Directory>
LoadModule scgi_module /usr/lib/apache/mod_scgi.so
SCGIMount /RPC1 127.0.0.1:5000
</VirtualHost>
and config.php:
Code:
<?php
// configuration parameters
// for snoopy client
@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0', true);
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
@define('RPC_TIME_OUT', 5, true); // in seconds
@define('LOG_RPC_CALLS', false, true);
@define('LOG_RPC_FAULTS', true, true);
// for php
@define('PHP_USE_GZIP', false, true);
@define('PHP_GZIP_LEVEL', 2, true);
$do_diagnostic = true;
$log_file = ''; // path to log file (comment or make empty to disable logging)
$saveUploadedTorrents = true;
$topDirectory = '/srv/web/rutorrent/'; // Upper available directory. Absolute path with trail slash.
$forbidUserSettings = false;
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
$XMLRPCMountPoint = "/RPC1"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
$pathToExternals = array(
"php" => '', // Something like /usr/bin/php. If empty, will be founded in PATH.
"curl" => '', // Something like /usr/bin/curl. If empty, will be founded in PATH.
"gzip" => '', // Something like /usr/bin/gzip. If empty, will be founded in PATH.
"id" => '', // Something like /usr/bin/id. If empty, will be founded in PATH.
"stat" => '', // Something like /usr/bin/stat. If empty, will be founded in PATH.
);
// 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";
?>
What shoud I do to run Rutorrent. Any hint will be appreciated.
Regards,
I've just installed rutorrent 3.2 and stuck in following point:
My rtorrent:
Code:
[root@drober ~]# screen -x
*** rTorrent 0.8.6/0.12.6 - drober:11822 ***
[View: main]
(23:47:24) Using 'epoll' based polling.
(23:47:24) XMLRPC initialized with 519 functions.
(23:47:24) The SCGI socket is bound to a specific network device yet may still pose a security risk, consider using 'scgi_local'.
(23:47:24) Deprecated on_* commands, use 'system.method.set_key = event.download.{inserted, erased, ...}, <key>, <command>' inste
[Throttle 210/off KB] [Rate 0.1/ 0.2 KB] [Port: 6882] [U 0/52] [D 0/0] [H 0/32] [S 74/78/768] [F 35/128]
My rutorrent.conf:
Code
Listen *:5001
<VirtualHost *:5001>
DocumentRoot /srv/web/rutorrent
Include /etc/httpd/conf/conf.d/php*.conf
DirectoryIndex index.html index.php
<Directory /srv/web/rutorrent>
Options None
AllowOverride All
Order allow,deny
Allow from all
</Directory>
LoadModule scgi_module /usr/lib/apache/mod_scgi.so
SCGIMount /RPC1 127.0.0.1:5000
</VirtualHost>
and config.php:
Code:
<?php
// configuration parameters
// for snoopy client
@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0', true);
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
@define('RPC_TIME_OUT', 5, true); // in seconds
@define('LOG_RPC_CALLS', false, true);
@define('LOG_RPC_FAULTS', true, true);
// for php
@define('PHP_USE_GZIP', false, true);
@define('PHP_GZIP_LEVEL', 2, true);
$do_diagnostic = true;
$log_file = ''; // path to log file (comment or make empty to disable logging)
$saveUploadedTorrents = true;
$topDirectory = '/srv/web/rutorrent/'; // Upper available directory. Absolute path with trail slash.
$forbidUserSettings = false;
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
$XMLRPCMountPoint = "/RPC1"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
$pathToExternals = array(
"php" => '', // Something like /usr/bin/php. If empty, will be founded in PATH.
"curl" => '', // Something like /usr/bin/curl. If empty, will be founded in PATH.
"gzip" => '', // Something like /usr/bin/gzip. If empty, will be founded in PATH.
"id" => '', // Something like /usr/bin/id. If empty, will be founded in PATH.
"stat" => '', // Something like /usr/bin/stat. If empty, will be founded in PATH.
);
// 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";
?>
What shoud I do to run Rutorrent. Any hint will be appreciated.
Regards,