systemart / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 0 forks source link

Connection refused: scgi: #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to access rtGUI from home PC to remote server
2. calling www.myserver.com/rtgui/  with access controls
3. Can rtGUI only work from localhost?

What is the expected output? What do you see instead?
--- access_log contains
127.0.0.1 - - [11/Feb/2008:09:28:13 +0100] "POST /RPC2 HTTP/1.0" 500 610
"-" "-"

--- error_log contains
[date here] Apache/2.2.6 (Unix) DAV/2 mod_scgi/1.12 PHP/5.1.6 configured --
resuming normal ope
rations
[date here] [error] [client 127.0.0.1] (111)Connection refused: scgi: 
can't connect to server

What version of the product are you using? On what operating system?
latest version on Fedora Core 6

Please provide any additional information below.
I can get in and see rtgui but not able to add torrent or have it find
the current running process of rtorrent that I have.
I followed all other instructions.

--- added this to /etc/httpd/conf/httpd.conf
# Alias /RPC2/ "/var/www/RPC2/"
ScriptAlias /RPC2/ "/var/www/RPC2/"
SCGIMount /RPC2 127.0.0.1:5005
#
<Directory "/var/www/RPC2">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from localhost
</Directory>

---contents of /etc/rctorrent.rc

scgi_port = localhost:5005
directory = /home/downloads
encoding_list = UTF-8

Original issue reported on code.google.com by garp999@gmail.com on 11 Feb 2008 at 9:46

GoogleCodeExporter commented 9 years ago
It seems to be related to Apache connecting to the SCGI socket, not really 
rtgui defect..

That being said, if the SCGI mount is the last stop, why alias/scriptalias it? 
it
will only cause problems... why do you have a directory for RPC2? if I am not
mistaken you only need the SCGIMount directive and that's it... to limit it you 
would
use the <Location /RPC2> directive.

Original comment by user00...@gmail.com on 23 Feb 2008 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by lemonbe...@gmail.com on 3 Mar 2008 at 8:32