Script i'm trying to run: [root@hostname cgi-bin]# cat test2.cgi #!/usr/bin/perl -tw print "Content-type: text/html\n\n"; print ""; print "CGI Test"; print ""; print "

testing cgi scripts!

"; print ""; ----------------------------------------------------- This is what i get when i run from command line: [root@hostname cgi-bin]# perl -t test2.cgi Content-type: text/html CGI Test

testing cgi scripts!

[root@hostname cgi-bin]# ------------------------------------------------------ errors in log files: [Mon Nov 13 03:40:39 2006] [error] [client xx.xxx.xxx.xxx] Premature end of script headers: test2.cgi [Mon Nov 13 03:40:39 2006] [error] [client xx.xxx.xxx.xxx] failed to open log file /var/log/httpd/suexec_log [Mon Nov 13 03:40:39 2006] [error] [client xx.xxx.xxx.xxx] fopen: Permission denied [root@hostname httpd]# ls -lh /var/log/httpd/suexec_log -rw-r--r-- 1 root apache 0 Nov 13 03:19 /var/log/httpd/suexec_log [root@hostname cgi-bin]# ls -lh test2.cgi -rwxr-xr-x 1 someuser psacln 199 Nov 13 03:09 test2.cgi [root@hostname cgi-bin]#