Web Hosting Talk







View Full Version : Configuring RaQ4 to Parse SSI Within CGI Scripts


Shawn (GEcom)
06-11-2001, 05:04 PM
Is there a command that can be added to a .htaccess file to allow a CGI Script to parse SSI within it? If not, then is there any way possible to call CGI within SSI? IE: Javascript.

Thanks,
Shawn

(SH)Saeed
06-11-2001, 05:34 PM
Shawn,

I posted a little code here that would do the trick.
http://www.webhostingtalk.com/showthread.php?threadid=11688

Shawn (GEcom)
06-11-2001, 05:47 PM
Thanks for the response.

I looked at that, and I don't think it will work. I am trying to load a graphic in place of the SSI (Advertisement actually), and that can be placed on a .shtml page with an include virtual type idea or an exec cgi statement as the "file I am calling" is a .cgi document.

The problem is, .cgi files do not support eaither of these commands.

Matt Lightner
06-12-2001, 01:14 PM
Haven't tried it myself, but this may be of use to you.

http://www.hypernews.org/HyperNews/get/www/ncsa-httpd/30/2.html?nogifs

Regards,
Matt Lightner
mlightner@site5.com

Shawn (GEcom)
06-12-2001, 09:29 PM
Thanks for the suggestion, but unfortunately, I was unable to get that working. :(