I haven't used TT2 under mod_perl yet, so I don't know if I can help.

Here are some things to check:

  - do you have a valid http header (eg: Content-Type: text/html\n\n)?

  - is there anything in the apache error log file?  To make sure your
    script is really running under apache you could add some fragments
    like "[% FILTER stderr %] Got here [% END %]" to your template and
    verify they appear in the apache error_log.

  - you could have a permissions problem running under apache.  Does
    your script work when you manually run it as the apache user
    (eg: http)?

  - a blank page with no error messages could suggest that the socket to
    your client doesn't get closed so IE5 is just sitting there waiting
    for EOF (this could happen if your program doesn't exit cleanly).
    What do you see if you telnet to port 80, eg:

        telnet myHost 80
        GET /cgi-bin/myProg HTTP/1.0

    (you need to enter two new lines).  Do you see the same output
    compared to running your program manually?  If so, does telnet
    see a closed connection and quit (ok) or not (bad)?

Craig


Reply via email to