Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Lighttpd- Check for scgi support
Index -> General Discussion
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
DtY




PostPosted: Wed Oct 07, 2009 6:51 pm   Post subject: Lighttpd- Check for scgi support

I'm trying to install wTorrent on lighttpd with these instructions: http://www.wtorrent-project.org/trac/wiki/wTorrentInstall
I get to adding mod_scgi to the modules list, and then add the configuration stuff.
I restart lighttpd, and get this error,
code:
$ sudo service lighttpd restart
 * Stopping web server lighttpd
   ...done.
 * Starting web server lighttpd
2009-10-07 19:44:09: (configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 191 pos: 11 parser failed somehow near here: /RPC2
   ...fail!

The section in question is,
code:
#scgi.server = (
        "/RPC2" => #RT_DIR
                ( "127.0.0.1" =>
                        ("host" => "127.0.0.1",
                        "port" => 5000,
                        "check-local" => "disable")
                )
)


I'm thinking I don't have mod_scgi installed or something, I added mod_doesntexist to the list, and it loaded fine, so unless there is actually a mod_doesntexist, lighttpd doesn't seem to care if you try to load modules you don't have. Is there anyway to test for scgi support? Or does anyone see something else wrong with it?
Sponsor
Sponsor
Sponsor
sponsor
md




PostPosted: Wed Oct 07, 2009 7:19 pm   Post subject: RE:Lighttpd- Check for scgi support

The first line is commented out - so lighttpd sees a incomplete construct and errors out. Remove the #.
DtY




PostPosted: Wed Oct 07, 2009 7:48 pm   Post subject: RE:Lighttpd- Check for scgi support

That's how it's shown in the wiki, I thought the hash meant from here to the end of the line is a comment, I took it out (from the hash to the end), but I'm still getting that same error.

[edit] Haha, looking at the wrong line, stupid me! Thank you
Display posts from previous:   
   Index -> General Discussion
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: