Get lighthttpd work with CGI - Raspberry Pi Forums


hi have problem make lighthttpd works cgi.

in lighttpd.conf file have

code: select all

server.modules = ( 	"mod_access", 	"mod_alias", 	"mod_compress",  	"mod_redirect", 	"mod_fastcgi", 	"mod_auth", 	"mod_cgi", #       "mod_rewrite", )
,

code: select all

$http["url"] =~ "/cgi-bin/" {       cgi.assign = ( ".cgi" => "/usr/lib/cgi-bin/" ) }
have put basic cgi file in "usr/lib/cgi-bin" , have run "sudo chmod +x test.cgi" (the file name test.cgi)

give me "the webpage cannot found" when try http://<ipnumber>/cgi-bin/test.cgi



raspberrypi



Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums