selvan
selvan

Reputation: 1

How to use c program directly in any web server?

I have a small program written in c and i am planning to convert it to a web service module. Is there any web server(Linux or Windows platform) where i can embed the c program directly. I googled and found some of the web servers which supports c code are Apache, mongoose etc. But i don't know how to implement it?

Upvotes: 0

Views: 775

Answers (3)

griffin
griffin

Reputation: 1258

http://monkey-project.com/ is able to do what you want and probably the simplest solution to your problem. http://gwan.com/ might also be interesting, depending on what exactly you want to do.

Upvotes: 1

GWAN
GWAN

Reputation: 21

G-WAN is one of the fastest Web Servers, and it supports running C-programs directly (gwan.com). It's much faster on multi-core CPUs than other webservers. Basically, you can just run any C/C++ (or many other) files just by placing them in /csp directory.

Upvotes: 2

user1252065
user1252065

Reputation:

You are looking for CGI. See the docs for more info: http://httpd.apache.org/docs/2.0/howto/cgi.html

Upvotes: 8

Related Questions