>All I get is: > Server error! > The server encountered an internal error and was > unable to complete your request. > Error message: > Premature end of script headers: test2.pl If the other suggestions didn't help, maybe one of these ... Your Apache error log may contain 'file not found' messages, error messages, etc. that turn out to be from your program. If it's blowing up, its STDERR stream should be going to that log file. Put a 'tail' on that file while you invoke the failing page and see if it jumps. It is possible to capture error and warning messages using error handlers, and put them to the Apache error log by writing them to STDERR. But hopefully you've nailed it by now. Vic