/    Sign up×
Community /Pin to ProfileBookmark

ssi and perl/cgi script

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

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@ray326Jul 03.2007 — What's the error?
Copy linkTweet thisAlerts:
@retardauthorJul 03.2007 — "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?
Copy linkTweet thisAlerts:
@ray326Jul 03.2007 — "the page cannot be displayed" IE message.[/QUOTE]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.
×

Success!

Help @retard spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...