You are not logged in.

#1 2009-12-09 19:12:13

Zepp
Member
From: Ontario, Canada
Registered: 2006-03-25
Posts: 334
Website

FastCGI Allowed paths

I am trying to setup rutorrent. It needs access to my rtorrent session directory but it is in a location fcgi scripts can't access. I get this error in the lighttpd server log

2009-12-09 13:54:36: (mod_fastcgi.c.2698) FastCGI-stderr: PHP Warning:  is_dir(): open_basedir restriction in effect. File(/data/torrents/session/) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /srv/http/rtorrent/settings.php on line 99

How can  I change the allowed paths to include /data/torrents/session/ ?

Offline

#2 2009-12-09 19:25:48

Zepp
Member
From: Ontario, Canada
Registered: 2006-03-25
Posts: 334
Website

Re: FastCGI Allowed paths

Fixed by modifying open_basedir in /etc/php/php.ini to include the sessions directory.

Offline

Board footer

Powered by FluxBB