rsteedma
12-20-01, 10:16 PM
I am unable to use TCL/Expect for CGI through PowWeb. I am testing a 5-line script that works on my other server, chmod 755.
Function:
Start TCLSH, print the content-type, print a message, terminate.
Location:
http://www.congonetworking.com/try.cgi
Code:
#!/usr/local/bin/tclsh
puts "Content-type: text/html\n\n"
puts ""
puts "<HTML> Visitor Activity Report </HTML>"
return 0;
Error Log:
[Thu Dec 20 10:18:12 2001] [error] [client 128.107.253.43] Premature end of script headers: /www/r/rsteedma/htdocs/try.cgi
failed to open log file
fopen: Permission denied
[Thu Dec 20 10:18:13 2001] [error] [client 128.107.253.43] Premature end of script headers: /www/r/rsteedma/htdocs/try.cgi
Any help would be greatly appreciated!
Thanks,
Ron Steedman
Function:
Start TCLSH, print the content-type, print a message, terminate.
Location:
http://www.congonetworking.com/try.cgi
Code:
#!/usr/local/bin/tclsh
puts "Content-type: text/html\n\n"
puts ""
puts "<HTML> Visitor Activity Report </HTML>"
return 0;
Error Log:
[Thu Dec 20 10:18:12 2001] [error] [client 128.107.253.43] Premature end of script headers: /www/r/rsteedma/htdocs/try.cgi
failed to open log file
fopen: Permission denied
[Thu Dec 20 10:18:13 2001] [error] [client 128.107.253.43] Premature end of script headers: /www/r/rsteedma/htdocs/try.cgi
Any help would be greatly appreciated!
Thanks,
Ron Steedman