Re: How can I write a cgi using c/c++?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/07/07, ying lcs <yinglcs@xxxxxxxxx> 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
here:

http://httpd.apache.org/docs/2.2/howto/cgi.html

--
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux