PDA

View Full Version : CGI +SSI Not working on new System, anyone?


lastrep
6-13-06, 08:23 AM
Hey guys,

had anyone had issues with the cgi programs not running ie. (#include virtual) once they were switched to the new system? The server side includes are not working correctly on the new server and it's turning my site inside out.

tbonekkt
6-13-06, 09:26 AM
Check out this knowledgebase article.. does that help?

http://www.powweb.com/knowledgebase/read_article.bml?kbid=603

lastrep
6-13-06, 09:33 AM
No.

The problem is that the <!--#include virtual="/cgi-bin/program.cgi"--> works but not when I want to <!--#include virtual="/cgi-bin/program.cgi?command=view&pid=890--> for example.

The SSI code isn't passing the ?command=view&pid=890 part of the URL, which it did no problem on the old servers.

This is crucial to my site.

Any help?

lastrep
6-13-06, 12:37 PM
Anyone???

If this keeps up how do I switch back to the old servers where there were NO problems.

Dandello
6-22-06, 02:33 AM
Okay - since I don't see a final note on this one.
The new system requires the Query string (everything after the "?" to be set prior to the SSI include call, ie.: <!--#set var="QUERY_STRING" value="command=view..." -->
Three calls to support for this one.

IanS
6-22-06, 07:31 AM
Looks like you've identified a solution. Time to close the thread.