By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,115 Members | 894 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,115 IT Pros & Developers. It's quick & easy.

question about #exec infosystems.www.authoring.html

P: n/a
panix.user.html, comp.infosystems.www.authoring.html
question about #exec

Are there any obvious errors in the html code below? All except the #exec
command function as would be expected, but there is no action from
exectst.cgi - a compiled c program that's shown under the html code.

This is being tested from one of panix.com's shell accounts which, I
beleive, will accept html code with an #exec command.

All suggestions welcome - Hul

--- html code
<html>
<head><title>Title for exectest</title></head>
<body>
exec test -
<!--#exec cgi="/htdocs/userdirs/ht/pcgi-bin/exectst.cgi"-->
</body>
</html>

--- c program
int main(int argc, char **argv)
{
printf("Content-type: text/html%c%c",10,10);
printf("EXECTST is complete\n");
exit(0);
}

--
- for email, put the word "keeper" in the subject line -
Jan 24 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Tim
On Tue, 24 Jan 2006 18:39:32 -0500, Hul Tytus sent:
Are there any obvious errors in the html code below? All except the
#exec command function as would be expected, but there is no action from
exectst.cgi - a compiled c program that's shown under the html code.

This is being tested from one of panix.com's shell accounts which, I
beleive, will accept html code with an #exec command.


You may have to name the file in a specific way (e.g. as a .shtml file),
or set the X (execute) bit on the file. That sort of question is best
answered by someone who knows about the configuration of your host's
webserver.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please destroy some files yourself.

Jan 26 '06 #2

P: n/a
Thanks Tim. The lack of a .shtml desigination caused the problem.

Hul

Tim <ti*@mail.localhost.invalid> wrote:
On Tue, 24 Jan 2006 18:39:32 -0500, Hul Tytus sent:
Are there any obvious errors in the html code below? All except the
#exec command function as would be expected, but there is no action from
exectst.cgi - a compiled c program that's shown under the html code.

This is being tested from one of panix.com's shell accounts which, I
beleive, will accept html code with an #exec command.

You may have to name the file in a specific way (e.g. as a .shtml file),
or set the X (execute) bit on the file. That sort of question is best
answered by someone who knows about the configuration of your host's
webserver. --
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to. This message was sent without a virus, please destroy some files yourself.


Jan 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.