Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Please help SSI

Quote Reply
Please help SSI
Hello
I know that there lot of ssi questions and anwers in the forum i read most
of them but none are exacly the same problem.
here is mine:

firt i'm not root I can't have more than 755
into /cgi directory.
ok now the problem
everything looks great... in links
my links configuration makes me a index.shtml
for main page.
just that my ssi don't work here is what
I put into home.html:
<!--#include virtual="http://www.linuxbusca.com/cgi/vota/
qpoll20.pl?poll_id=2"-->

and build pages and i get these:

[an error occurred while processing this directive]

where it have to show up...

ok question...
1 why is not working? what can i do?
please if anyone can help me and attach
code if i have to add or paste something better because I never touch perl before.

Thank you all



Quote Reply
Re: Please help SSI In reply to
First off, you need to use the path to the program (ex. /home/yourname/cgi-bin/), not the URL (ex. http://www.yourname.com/cgi-bin/)

also, maybe I'm wrong, but CGI's only work through SSI if you use:

<!--#exec cgi="/cgi-bin/yourscript.cgi"-->

Hope that helps,

Philip
Quote Reply
Re: Please help SSI In reply to
Hello me again... I did try that before posting nothing... and just in case I tried again and same error Frown
The problem is that when it builds the page
it builds them with the error already on them.
So maybe a solution will be move home.html to
home.shtml?
How can i do that?
anyways any better solution?

Please I do need help on these one.
Quote Reply
Re: Please help SSI In reply to
if you're getting that error on .html pages, then that means your server is set to parse all pages, and you don't need to change the extension to .shtml.

1) there's nothing wrong with the script itself. I cut-and-pasted the URL and it ran.

2) SSI's are relative to the location of the file being processed. try using the full path to the script if you aren't already doing that.

3) you did try <!--#exec cgi=""-->, right?
Quote Reply
Re: Please help SSI In reply to
Hello
Yes I did try all that...
and of course I try to put the full
path...
That's why i need help
I don't know what to try more

Thank you