lighttpd & scgi

simur612

Member
May 25, 2018
879
0
16
hi

i just setup a new server with lighttpd and added scgi as shown in the wiki.

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


module added to mod-section as well. if i add a socket to scgi, start fails with : either socket or port wink.gif -.-

but if i restart lighttp, i cant see any action on port 5000, i think i should see it with netstat -nlp | grep light but this only says:
> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2344/lighttpd <

any ideas?
 

Attachments

randac56

Member
May 25, 2018
915
0
16
Quote
hi

i just setup a new server with lighttpd and added scgi as shown in the wiki.

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


module added to mod-section as well. if i add a socket to scgi, start fails with : either socket or port wink.gif -.-

but if i restart lighttp, i cant see any action on port 5000, i think i should see it with netstat -nlp | grep light but this only says:
> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2344/lighttpd <

any ideas?



did you also add the mod_scgi section to the modules location?


also, did you add the scgi section to .rtorrent.rc?
 

Attachments

simur612

Member
May 25, 2018
879
0
16
yes added to module-section. i installed rtorrent from ubuntu repos (rTorrent 0.8.2/0.12.2) but did not setup any .rtorrent.rc file yet. where should i create it? for which user?
 

peshua19

Member
May 25, 2018
897
0
16
Quote
but if i restart lighttp, i cant see any action on port 5000.​

rTorrent must listen on this port. If you correct intall, configure and run it.
 

simur612

Member
May 25, 2018
879
0
16
thx for your response, its running now smiley.gif

but what about security? can everyone access the rpc from inside the box?
 

Attachments