开发者

cgi with lighttpd on Ubuntu

开发者 https://www.devze.com 2023-03-06 21:30 出处:网络
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?

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" => "".

0

精彩评论

暂无评论...
验证码 换一张
取 消