I've modified one of the print statements into:
" PID ",b($$),". remote host: ",$ENV{REMOTE_HOST},"\n<br>",join(" ",ke +ys %ENV),
which now produces:
Fast CGI Rocks Invocation number 0 PID 29716. remote host: SCRIPT_NAME SERVER_NAME SERVER_ADMIN HTTP_ACCEPT_ENCODING HTTP_CONNECT +ION REQUEST_METHOD HTTP_ACCEPT SCRIPT_URI SCRIPT_FILENAME SERVER_SOFT +WARE HTTP_ACCEPT_CHARSET QUERY_STRING REMOTE_PORT HTTP_USER_AGENT SER +VER_PORT SERVER_SIGNATURE HTTP_ACCEPT_LANGUAGE REMOTE_ADDR HTTP_KEEP_ +ALIVE SERVER_PROTOCOL HTTP_IF_NONE_MATCH PERL5LIB PATH REQUEST_URI GA +TEWAY_INTERFACE HTTP_IF_MODIFIED_SINCE SERVER_ADDR SCRIPT_URL DOCUMEN +T_ROOT HTTP_HOST UNIQUE_ID
If I change my httpd.conf into
SetHandler fastcgi-script
I get a download popup-window

In reply to Re: fcgi script not working as expected (apache) by jeanluca
in thread fcgi script not working as expected (apache) by jeanluca

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.