hawleyal Posted October 29, 2009 Share Posted October 29, 2009 I keep getting errors when I try to use the ScriptLog directive. Is this now allowed in .htaccess? I've tried: ScriptLog script_log ScriptLog /script_log ScriptLog /public_html/script_log ScriptLog /home/hawleyal/public_html/script_log How in the world are you supposed to debug CGI without ScriptLog? Thoughts? Thanks. -AH Quote Link to comment Share on other sites More sharing options...
Byron Posted October 29, 2009 Share Posted October 29, 2009 if that's causing you 500 errors then it's probaly not allowed. You can however add this to a script if your having problems and it will write to a text file with the errors. BEGIN { use CGI::Carp qw(carpout); use diagnostics; open(LOG, ">errors.txt"); carpout(LOG); close(LOG); } use CGI::Carp qw(fatalsToBrowser); You can also check your "Error log" at your cpanel for errors. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.