Running scotty as a CGI

Paulo Eduardo Neves (neves@inf.puc-rio.br)
Mon, 21 Jul 1997 18:43:26 -0300

I'm having some troubles running a cgi script that uses Scotty as shell.
Does anyone already had the same problem?

I've already verified:
1)The directory has cgi permissions
2)the script first line is
#!/usr/local/bin/scotty2.1.5
(I've already tried a log of variations on this)
3)Everybody has permission to execute the script
4)The first output line is
puts "Content-Type: text/html\n"

The strange thing is that I can execute pure tcl cgi scripts.

I've got the message in my webserver error log:
failure: for host pixinguinha.fplf.puc-rio.br trying to GET
/neves-cgi/mibbrowser.tcl, cgi-parse-output reports: the CGI program
/home/neves/public_html/cgi-bin/mibexpr.tcl did not produce a valid
header (name without value: got line "couldn't find home environment
variable to expand path")

I'm working in an AIX4.1.4.

Does anybody has any idea? I'm completly lost.

Thanks in advance for any help.

regards,

-- 
Paulo Eduardo Neves
mailto:neves@inf.puc-rio.br    Rio de Janeiro - Brasil
Pager-> Central:(021)532-4499  Cod.:213 99 64
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.