Zainstalowałem sobie serwer lighttpd z php i mysql (wszystko działa), i postanowiłem, że fajnie by było to wykorzystać do obserwowania jak działa rTorrent. Więc, zainstalowałem rTorrenta:
[INDENT]libtorrent-0.12.6
rtorrent-0.8.6 z XMLRPC[/INDENT]
Po uruchomieniu z konsoli rTorrenta jest informacja:
Kod: Zaznacz cały
(16:08:10) Using 'epoll' based polling.
(16:08:10) XMLRPC initialized with 519 functions.
(16:08:10) The SCGI socket is bound to a specific network device yet may still pose a security risk, consider using 'scgi_local'.nd type mis-match.Kod: Zaznacz cały
server.modules = (
"mod_auth",
# "mod_fastcgi",
"mod_alias",
"mod_compress",
"mod_redirect",
"mod_scgi",
)
server.document-root = "/home/bullseye/WWW"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm",
" index.lighttpd.html" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
include_shell "/usr/share/lighttpd/use-ipv6.pl"
dir-listing.encoding = "utf-8"
server.dir-listing = "enable"
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ( "application/x-javascript", "text/css", "text/html", "text/plain" )
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
fastcgi.server = ( ".php" => ((
"bin-path" => "/usr/bin/php5-cgi",
"socket" => "/tmp/php.socket"
)))
scgi.server = (
"/RPC2" =>
( "127.0.0.1" =>
(
"host" => "127.0.0.1",
"port" => "5050",
"check-local" => "false"
)
)
)
#auth.backend = "htdigest"
#auth.backend.htdigest.userfile = "/etc/lighttpd/.auth"
#auth.debug = 2
#auth.require = ( "/rutorrent/" =>
#(
#"method" => "digest",
#"realm" => "Authorized users only",
#"require" => "valid-user"
#)
#)
A mimo to ruTorrent daje komunikat, i nic nie widać:
Kod: Zaznacz cały
Bad response from server: (404 [error,list]) <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>404 - Not Found</title> </head> <body> <h1>404 - Not Found</h1> </body> </html>