Click to See Complete Forum and Search --> : Can't get Apache to do SSI


debiandude
02-22-2001, 09:01 PM
OK I have Apache 1.3.9 with Debian 2.3. I have a file in /usr/lib/cgi-bin called poll.pl. It is basically a poll script and the script is working.

I want to include the script via SSI in to a webpage. So I do this:
<!--#exec cgi="/cgi-bin/poll.pl" -->

Yet when I load the page I see nothing still. BTW the page is noted to be a shtml not a html file in case you were wondering.

What files does I need to edit to get SSI working. THanks in advance.

XxMaCaBrExX
02-23-2001, 12:57 PM
Well, if you don't see the SSI tags and source in the page, then SSI is working properly, your just using the wrong tags. Sometimes the "exec cgi=" tag doesn't work the way you'd expect it. Try using "include file=" or go look up the SSI options at Apache.org (http://www.apache.org). :D

debiandude
02-23-2001, 07:42 PM
I feel quite stupid. I went looking in /etc/apache/httpd.conf to see again. And then I was looking in the modules section and the includes module is commented out. So I unhashed it and restarted apache. It works fine now. Now everyone can vote what OS they use on http://technologyreview.org