I am using trunk of Kamikaze (r18405)?
/etc/httpd.conf ?
*.php:/usr/bin/php-cgi
*.html:/usr/bin/php-cgi
/etc/php.ini ?
extension=pdo.so
extension=pdo_sqlite.so
;extension=ftp.so
;extension=gd.so
;extension=mysql.so
extension=pcre.so
extension=session.so
extension=sockets.so
extension=xml.so
now php.log ?
[02-Jan-2010 01:05:41] PHP Fatal error: Balloc() allocation exceeds list boundary in /jffs/www2/rtorrent/xmlrpc.php on line 14
[02-Jan-2010 01:10:04] PHP Fatal error: Balloc() allocation exceeds list boundary in /jffs/www2/rtorrent/xmlrpc.php on line 14
I look lighttpd+php+php-fcgi+rutorrent it work well !
http://code.google.com/p/rutorrent/wiki/WebserverSetup
that need set etc/lighttpd.conf:
server.modules = (
# "mod_rewrite",
# "mod_redirect",
# "mod_alias",
# "mod_auth",
# "mod_status",
# "mod_setenv",
"mod_fastcgi",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_cgi",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_webdav",
"mod_scgi",
"mod_access"
And add code at last:
scgi.server = ( "/RPC2" =>
( "127.0.0.1" =>
(
"host" => "127.0.0.1",
"port" => 5000,
"check-local" => "disable"
)
)
)
For the Apache web-server:
Install the module mod_scgi. If don't know where to get it for your sustem, download it's sources and compile it by yourself.
Add the following string to the configuration file (httpd.conf):
SCGIMount /RPC2 127.0.0.1:5000
I try add set my /etc/httpd.conf:
SCGIMount /RPC2 127.0.0.1:5000
but not start httpd, error : httpd: config error 'SCGIMount/RPC2127.0.0.1:5000' in '/etc/httpd.conf'
Is luci-httpd without mod_scgi ?
and I think : how to set in my /etc/httpd.conf ?
(Last edited by ccbcfan on 2 Jan 2010, 06:04)