I’m trying to pass variable to my script using SSI.
If I write: <!--#exec cgi="cgi-bin/news.cgi"--> I get the results, that scrip do by default back in my html.
But If I write: <!--#exec cgi="cgi-bin/news.cgi?action=new&id=22"--> I‘m getting error on html in place where results should be.
If I write same command in my browser like: www.mysite.com/cgi-bin/news.cgi?action=new&id=22 I would get results with no error.
How can I pass these variables to script using SSI?