Get lighthttpd work with CGI - Raspberry Pi Forums
hi have problem make lighthttpd works cgi.
in lighttpd.conf file have
,
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
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/" ) }give me "the webpage cannot found" when try http://<ipnumber>/cgi-bin/test.cgi
raspberrypi
Comments
Post a Comment