File apache2-mod_cgid-timeout.conf of Package apache2-virtualmin

#
# The length of time in seconds to wait for more output
# from a CGI program.
#
# This will prevent a DoS if too many CGI's don't send their output quickly
# enough.
# The value for CGIDScriptTimeout defaults to the value of Timeout.
# CGIDScriptTimeout is used by mod_cgid only!
#

<IfModule mod_cgid.c>
  CGIDScriptTimeout 60
</IfModule>