use CGI::Fast qw(:standard); $COUNTER = 0; while (new CGI::Fast) { print header; print start_html("Fast CGI Rocks"); print h1("Fast CGI Rocks"), "Invocation number ",b($COUNTER++), " PID ",b($$),".", hr; print end_html; } #### LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so ScriptAlias /cgi-bin/ "/srv/perl/cgi-bin/" AddHandler fcgi-script .fcgi AddType application/x-httpd-fcgi .fcgi .... ... AllowOverride All SetHandler cgi-script ... #### SetHandler fcgid-script