CGI ex.err

new topic     » topic index » view thread      » older message » newer message

Hullo!

At experimenting with CGI error messages I added these lines to 
my code but none of them seems to work. 

include machine.e
crash_file("ktcgi.txt")
crash_message("Content-type: text/plain\n\nCrashed.\n")
function crash(object x)
    puts(1,"Content-type: text/plain\n\nCGI crashed.\n")
    return 0
end function
crash_routine(routine_id("crash"))


I expected it to create a ktcgi.txt but I got ex.err as 
usually. I expected it to report "Crashed" or "CGI crashed" 
but I got the general EU error message.

Does anyone else have similar problem? Any tips what to check? 
I have no clue that's going on... Thanks in advance!

Regards,

Salix

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu