PDA

View Full Version : SSI problem


kickster
01-31-2000, 06:59 PM
Hi
I am trying to add this code to my page but it does not work. Does any one know why?

<!--#exec cgi=&quot;/cgi-bin/newsup.pl&quot;-->

Thanks in advance

Bradley
01-31-2000, 07:33 PM
by not working what do you mean?
------------------
Bradley Noe
www.ganon.net (http://www.ganon.net)
&quot;The legend lives on from the Chippewa on down of the big lake they call Gitchie Gumee&quot;

kickster
01-31-2000, 08:18 PM
I inserted the code in my site, but it wont work when I load the page. Some one told me FQ does not allow this action!
Is this true?

The code must be in same directory as CGI!

Shalazar
01-31-2000, 09:30 PM
Try this instead:

<!--#include virtual=&quot;/cgi-bin/newsup.pl&quot; -->

kickster
01-31-2000, 10:25 PM
Thanks
I used that too, I get this message &quot;an error occurred while processing this directive&quot;
I am not sure what I am doing wrong!
------------------

kickster
01-31-2000, 10:33 PM
thanks guys
I got the darn thing to work. I had to add these lines to
the cgi file

&quot;sub display {
print &quot;Content-type: text/html\n\n&quot;;&quot;
------------------