systemart / rtgui

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

rtgui gives HTTP request failed! on freebsd #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using FreeBSD 7.0, installed apache2, mod_scgi and php xmlrpc support
2. using rtorrent-devel and rtgui from ports, followed all instructions
after port installation.
3. httpd.conf: 
SCGIMount /RPC2 127.0.0.1:5000
Alias /rtgui/ "/usr/local/www/rtgui/"

<Directory "/usr/local/www/rtgui/">
    Options none
    AllowOverride Limit
    Order Deny,Allow
    Allow from all
</Directory>

.rtorrent.rc:
scgi_port = 127.0.0.1:5000

rtgui/config.php:

rpc_connect="http://127.0.0.1:5000/RPC2";

What is the expected output? What do you see instead?
When going to http://myip/rtgui, i receive several of the following error
messages:
Warning: file_get_contents(http://127.0.0.1:5000/RPC2)
[function.file-get-contents]: failed to open stream: HTTP request failed!
in /usr/local/www/rtgui/functions.php on line 10

What version of the product are you using? On what operating system?
0.2.2 from FreeBSD ports (also tried using 0.2.3 - same result with regular
php and mod_scgi).

If there is anything else that I can provide to help out with this issue. I
would love to get this working on FreeBSD!

Original issue reported on code.google.com by levchenk...@gmail.com on 7 Mar 2008 at 9:02

GoogleCodeExporter commented 9 years ago
This is very unlikely to be an rtGui issue.  Would advise to check
rTorrent/XMLRPC/WWW Server config.

Original comment by lemonbe...@gmail.com on 12 Mar 2008 at 8:04