PDA

Bekijk de volledige versie : Rtorrent web - Problem



adam977
09-08-2009, 11:41
Witajcie
Zainstalowałem WebUI do rtorrenta i po uruchomieniu stronki w sekcji dziennik dostaje taki komunikat

[09.08.2009 12:32:08] WebUI started.
[09.08.2009 12:32:09] Bad response: (404) <?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>
czy ktoś może mi pomóc z tym,
dodam że nie moge odpalić ustawień

Lesiuk
09-08-2009, 20:14
SCGI gateway nie działa. On pośredniczy pomiędzy tym skryptem a rtorrentem.

W pliku /opt/etc/lighttpd/lighttpd.conf odkomentuj mod_cgi, mod_scgi.

Do configu rtorrenta dopisz: scgi_port = 127.0.0.1:5000

Do /opt/etc/lighttpd/lighttpd.conf dopisz na końcu



scgi.server = (
"/RPC2" =>
( "127.0.0.1" =>
(
"host" => "127.0.0.1",
"port" => 5000,
"check-local" => "disable"
)
)
)

Gotowe ;)
Teraz będzie działało.

hint: pamiętaj żeby wcześniej uruchomić rtorrenta np w screenie.

adam977
12-08-2009, 20:50
Te wpisy miałem już dodane,
teraz otrzymuje inny komunikat

[12.08.2009 21:46:42] WebUI started.
[12.08.2009 21:46:43] Bad link to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
[12.08.2009 21:46:43] Bad response: (500) <?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>500 - Internal Server Error</title> </head> <body> <h1>500 - Internal Server Error</h1> </body> </html>

Lesiuk
13-08-2009, 12:05
Coś jest nie tak z twoim configiem.

Napisz do mnie na mój numer gadu-gadu, tak będzie szybciej.

2205798