cgi with lighttpd on Ubuntu
Suppose I have an executable file with .o o开发者_JAVA百科r .a extension. How can I run it on lightTPD? Should I allow cgi or just fast-cgi will be enough?
I am using ubuntu 9.04 and if this make any difference executable file supporting V8-engine.
the problem is I dont see any modcgi in my /etc/lighttpdlighttpd.conf, could just be wrong installed lighttpd or I am looking in the wrong way?
I don't think you can run .o
or .a
files via CGI (nor can you run them normally), because they're not linked yet. But, if you have a fully compiled and linked ELF binary, you could name it with the .cgi
extension, and set cgi.assign
to ".cgi" => ""
.
精彩评论