You are not logged in.
Hi,
i'm trying to setup a lighttpd server and I don't seem to be able to run cgi on it. I have a bunch of programs written in c++ that i'd like to run. It works fine in apache on my other comp but this is a laptop so I figured I'd go for something lighter
There are lots of instructions on how to run perl, php, etc... But I've found nothing that works for this scenario.
Offline
You've enabled mod_cgi in the config?
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
You've enabled mod_cgi in the config?
Yes, but I got it somewhat working now:
#alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" )
$HTTP["url"] =~ "^/cgi-bin" {
cgi.assign = ( "" => "" )
}
the alias.url option doesn't work, gives a parsing error (somewhere near += ), but I don't quite get what that does anyway... commenting that out seems to result in what i want!
Thanks!
Last edited by fgrano (2008-11-01 12:14:29)
Offline
tell us the error message? did you enable mod_alias?
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline