Home
TeamSite
TeamSite, LiveSite and OpenDeploy
TS600 custom cgi fails
catorarn
I am having problems getting my CGI scripts to work via the webdesk pro interface. I can run a 'hello world' script from the command line but then this is run from the web interface I get an error 500 from the Teamsite apache. Have set permissions on all cgi files 777.
The CGIs included in TS6 - iwsearchmetadata.cgi and iwsearchdcr.cgi work fine.
from iw.cfg:
custom_menu_item_test="File", "Test", "test.cgi", "all", "scrollbars=yes,resizable=yes,width=640,height=545"
This is the perl I am using:
#!/Interwoven/TeamSite/iw-perl/bin/iwperl
#
#-----------------------------------------------
print <<EOF;
<html>
<head>
<title>testing</title>
</head>
<body>
<h1>Test</h1>
</body>
</html>
EOF
exit;
I tried wrapping the ipl file in a renamed copy of show_env.cgi, but that falls over with a Bad Header message in iwtrace.log
Can anyone indicate how to troubleshoot this situation? Any help would be appreciated.
Find more posts tagged with
Comments
There are no comments yet