You are here: Re: CGI-BIN Forced Termination (Apache) « PHP Programming Language « IT news, forums, messages
Re: CGI-BIN Forced Termination (Apache)

Posted by petersprc on 11/21/06 06:22

If it's a C program, using a library like this might simplify things:
http://www.boutell.com/cgic/.

If you haven't been here yet, there's an overview of Apache CGI at:
http://httpd.apache.org/docs/1.3/howto/cgi.html.

For internals, you may want to take a look at mod_cgi.c in the Apache
source...

David T. Ashley wrote:
> "petersprc" <petersprc@gmail.com> wrote in message
> news:1163999132.953698.153670@h48g2000cwc.googlegroups.com...
> > As far as I know, in the event of a disconnect, Apache will send a
> > SIGTERM to the child, and then, if needed, wait up to approximately 3
> > seconds and send a SIGKILL. ...
>
> Thanks. The info was very helpful.
>
> The hard part for me is that I've searched all over the web and found
> various documents that outline the stdin/stdout interface, but process
> termination was not discussed anywhere I've found. That seems odd, because
> SIGTERM and SIGKILL are part of the interface.
>
> If you can recommend any good books or authoritative references ... I'm just
> getting started (never written a compiled 'C' CGI-BIN before ... have just
> used scripting languages like PHP, and nearly all of that is handled for
> you).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация