You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bob <sp...@gmail.com> on 2010/08/26 20:49:12 UTC

[users@httpd] Override timeout for one script?

I have a slow CGI script that processes data for 10 minutes before producing
output. This is greater than the Timeout amount in the httpd.conf. Is there a
way I can override the timeout on a per-script or per-directory basis? since I
cannot change the value globally for everyone on the server. I looked at the
documentation and it says that Timeout is not in .htaccess context. Is there
anything else I can do?


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Override timeout for one script?

Posted by Nick Kew <ni...@webthing.com>.
On Thu, 26 Aug 2010 18:49:12 +0000 (UTC)
Bob <sp...@gmail.com> wrote:

> I have a slow CGI script that processes data for 10 minutes before producing
> output.

You'll run into browser timeouts there too.  Better to terminate the HTTP
transaction with a "processing, please wait" page and a clientpull (refresh)
to a results URL, which your script will generate in background.

-- 
Nick Kew

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org