|
From: Suresh S. <sur...@ya...> - 2002-02-11 13:34:52
|
I believe my mails are being posted on the developer mailing
list, so instead of replying to Jonathan & Grant separately
I'll just club the replies together in a single mail. Hope
you guys don't mind. :)
================================================================
> Another strange thing I noticed with Xitami is when i
> used <!--#echo var="DOCUMENT_URI"--> to print out the
> variable, I get the desired output for DOCUMENT_URI,
> somehow as you can see from the script output above, it
> just doesn't get passed on to the cgi program.
>
JS> This smells like a bug in Xitami, is there a mailling list or
JS> something
JS> you can check with then report it to the Xitami people ? Does
JS> the
JS> variable appear if you run the program directly rather than via
JS> an SSI ? (i.e. http://localhost/cgi-bin/whatever.pl)
Well Jonathan, I tried running the script straight from
the cgi-bin, instead of calling from the SSI, nope, the
DOCUMENT_URI still doesn't show up. It may be a bug in
Xitami or maybe they decided not to implement it.
However, the SCRIPT_NAME variable does contain the
desired value so I guess your assumption was correct.
I agree you guys have Xitami pretty much covered but
there are still quite a few other servers with their own
little idiosyncrasies. :). Plan to test some of the
scripts out with Savant as well. Would you like the
output from that as well?!! :)
================================================================
GM> Try putting this in place of the "print header();" line of your
GM> script, and
GM> let me know if it still prints out the header:
GM>
GM> print "Content-type: text/html\n\n";
GM> OR
GM> print "Content-type: text/plain\n\n";
Nope, Grant, Xitami still simply outputs the header, I
guess the SSI implementation in Xitami is a bit weird.
================================================================
--
Best regards,
Suresh.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|