Re: Running scotty as a CGI

Jyoti Patel (jyoti@net.com)
Mon, 21 Jul 1997 16:50:54 -0700

I don't have quite the same problem as I don't use scotty as cgi.
However, my simpleton scotty scripts do give me a:

"couldn't find home environment variable to expand path"

anyone know where this is coming from??

> From neves@inf.puc-rio.br Mon Jul 21 16:17:03 1997
> Date: Mon, 21 Jul 1997 18:43:26 -0300
> From: Paulo Eduardo Neves <neves@inf.puc-rio.br>
> MIME-Version: 1.0
> To: tkined@ibr.cs.tu-bs.de
> Subject: Running scotty as a CGI
> X-Priority: 3 (Normal)
> Content-Transfer-Encoding: 7bit
>
> 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.
>

--
!! 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.