Click to See Complete Forum and Search --> : ssi and perl/cgi script


retard
07-02-2007, 04:27 PM
I have a perl/cgi polling script that works fine (returns results of survey) if I point to it directly in my cgi folder. However, when I put it on my .shtml homepage, using both "exec" and "include" tags the poll shows up on my homepage, but when I select a value in the poll and click the submit button, I get an error page.
I guess the results of my perl script are not being parsed by ssi? How do I make this happen?
any help appreciated

ray326
07-02-2007, 11:14 PM
What's the error?

retard
07-03-2007, 08:51 AM
"the page cannot be displayed" IE message.

BTW, are there any other ways to display a script inside a <td> cell on a .html or .shtml page when you have no control over the server config? My server is configured I believe to only parse .html files, not any scripts.
So far I've found two ways to get around this: using SSI tokens or via "javascript" src="****". Any others?

ray326
07-03-2007, 04:58 PM
"the page cannot be displayed" IE message.Well you either need to look at it with a web browser or go into IE's setup and turn off the "friendly" error messages so you can tell what the real error is.