[Xitami] using cgi with Xitami
Vera Cranor
xitami@lists.xitami.org
Tue, 10 Feb 2004 22:16:43 -0600
Thanks Tom. Yes, I'm doing the content-type. But the thing is, Perl doesn't run
at all.
I can run the Perl script from the DOS box and the script writes a file if it
runs.
(It's a real simple dummy script) It doesn't write the file when called from
the browser
so it isn't getting called.
Thanks for the try.
Thomas J Hruska wrote:
> At 08:20 PM 2/10/2004 -0600, Vera Cranor writeth:
> >Thanks Murali.
> >No, not trying to do any SQL... just print a little message for testing.
> >
> >My old version xitami would run Perl but the browser didn't get the output
> from it.
> >Now this new version doesn't run Perl at all. (I do have Perl in the path)
> >
> >I appreciate your efforts and at least you got me as far as getting the
> "Service"
> >thing set.
>
> You do realize you need to output the "Content-Type" header to the web
> browser or Xitami will give you an HTTP 500 error...
>
> print("Content-Type: text/html\n\n");
> ...
>
> Hope this helps!
>
> Thomas J. Hruska -- shinelight@shininglightpro.com
> Shining Light Productions -- "Meeting the needs of fellow programmers"
> http://www.slproweb.com/
>
> `'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~
> Tired of programming languages that are expensive or difficult to use?
> Try Nuclear Vision today!
>
> http://www.slproweb.com/products/nvml.html
>
> Announcing Nuclear Vision v2.0, the 100% HTML-style scripting language.
> Easy to learn, easy to use.
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami