You are not logged in.

#1 2009-09-09 10:58:31

kwant
Member
Registered: 2009-09-09
Posts: 19

apacje 2.2.13 php 5.3.0 rtorrent 0.8.5 rutorrent svn

When I'm opening rutorrent in browser i've got error:

[09.09.2009 12:44:47] WebUI started.
[09.09.2009 12:44:48] Web server can't access rTorrent's session directory for read. ruTorrent will not work. (/home/kwant/session/)
[09.09.2009 12:44:50] RSS plugin: Web server user can't access curl program. You will not be able to work with https feeds.

config is from wiki/LAMP without mysql
any sugestions?

Offline

#2 2009-09-09 11:26:29

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: apacje 2.2.13 php 5.3.0 rtorrent 0.8.5 rutorrent svn

Your home directory (/home/kwant) is owned by you and has 700 permissions, and so the web server (which is running under the "http" user) can't access it. What I've done in similar situations is to add the http user to the group that owns the home directory and give that directory 710 permissions, so that users belonging to its group can `cd' into it.

Assuming that the permissions of /home/kwant/session are permissive enough (750 or 755), the following commands should do the trick:

sudo gpasswd -a http kwant
chmod 710 /home/kwant

Offline

#3 2009-09-09 12:19:27

kwant
Member
Registered: 2009-09-09
Posts: 19

Re: apacje 2.2.13 php 5.3.0 rtorrent 0.8.5 rutorrent svn

thx for help.

curl still not working.

//edit
adding /usr/bin to  open_basedir in /etc/php.ini do the trick.

i've own you a beer

Last edited by kwant (2009-09-09 12:27:29)

Offline

Board footer

Powered by FluxBB