Forum Moderators: coopster & phranque

Message Too Old, No Replies

         

Iben

6:16 pm on Mar 22, 2004 (gmt 0)

10+ Year Member



Hello

I'm using SSI and want to call a cgi-script, I'm doing this by using the following code


<!--#include virtual="../cgi-bin/first.cgi" -->
<!--#include virtual="../cgi-bin/first.pl" -->

I've also tried using

 #exec 
but that doesn't work.

I can inlude html files and all other SSI-code works, exept including cgi-script. My cgi-scripts work when I call them directly.

Does anyone have an idea to what I'm doing wrong?

Thanks in advance
- Iben

jatar_k

5:22 pm on Mar 23, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Iben,

Are you getting errors?
is anything at all happening?

Rup

1:56 am on Mar 25, 2004 (gmt 0)

10+ Year Member



Did you try calling the script using the root path? You may need to edit the path below if the path to your cgi-bin isn't in your root directory.

<!--#include virtual="/cgi-bin/first.cgi" -->

Iben

9:46 am on Mar 31, 2004 (gmt 0)

10+ Year Member



I found out that it is not possible to call CGI scripts using SSI on the server I use!

Thanks anyway
- Iben