Gossamer Forum
Home : General : Perl Programming :

CGI with SSI

Quote Reply
CGI with SSI
Hi,

I know you can use cgi with ssi but for some reason they wont execute right. When I call the script (ex.)
Code:
<!--#include virtual="cgi-bin/clan/clan.cgi?parse=logedoutin"-->

it will work but none of the variables will show up. I am not sure but could it be because you cant use cookies while the script is being run with ssi? Because i have to get cookies from the browser but the variables assigned to them wont print out...Any help would be appreciated...if you even understand what i am saying....Wink

Thanks
Kurt
Quote Reply
Re: [snowdude14] CGI with SSI In reply to
Have you tried the following:

<!--#exec cgi="scriptURI"-->

Also, try using:

/cgi-bin/ rather than cgi-bin/
========================================
Buh Bye!

Cheers,
Me

Last edited by:

Stealth: Oct 2, 2003, 3:38 PM
Quote Reply
Re: [Stealth] CGI with SSI In reply to
I just tried:

<!--#exec cgi="/cgi-bin/clan/clan.cgi?parse=logedoutin"-->

(i also tried with "/cgi-bin/...." and "cgi-bin/....") I get the following error message when i use that code:
Quote:
[an error occurred while processing this directive]
But if i use the:

<!--#include virtual="cgi-bin/clan/clan.cgi?parse=logedoutin"-->

It will at least print out something. I am not sure what it could be now. Crazy

Thanks
Kurt
Quote Reply
Re: [snowdude14] CGI with SSI In reply to
Look in your error.log. It will give you information on why it's failed.

- wil