httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Holding on to CGI
Date Wed, 07 May 2003 14:55:10 GMT

On Wed, 7 May 2003, Razvan Costea-Barlutiu wrote:

> >See:
> >
> >
> >Joshua.
> Thank you for the quick reply... but I can't seem to access the page? I
> tried adding a dash (html-help) but can't get further into server either way.
> Are there any mirrors?

It works fine for me.  Perhaps you have a nasty proxy in between.  Anyway,
here is the relevant text:

3.8: Can I launch a long process and return a page before it's finished?

You have to fork/spawn the long-running process.
The important thing to remember is to close all its file descriptors;
otherwise nothing will be returned to the browser until it's finished.
The standard trick to accomplish this is redirection to/from /dev/null:

        "long_process < /dev/null > /dev/null 2>&1 &"
        print HTML page as usual

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