httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <>
Subject Re: [users@httpd] How can I write a cgi using c/c++?
Date Tue, 10 Jul 2007 09:26:14 GMT
On 10/07/07, ying lcs <> wrote:
> Thanks. That is what I am looking for. How can I put your test program
> running in apache and how can I  invoke that via my browser?

First you'll need to compile it. Hopefully you're using an operating
system that bundles a C compiler :-)

$ cc hello.c -o hello.cgi

Then copy the hello.cgi executable to somewhere in your web root
designated to run cgi-scripts, using any of the methods described


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message