Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 24th, 2006, 11:55 PM
Hul Tytus
Guest
 
Posts: n/a
Default question about #exec infosystems.www.authoring.html

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 -
  #2  
Old January 26th, 2006, 05:25 AM
Tim
Guest
 
Posts: n/a
Default Re: question about #exec infosystems.www.authoring.html

On Tue, 24 Jan 2006 18:39:32 -0500, Hul Tytus sent:
[color=blue]
> 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.[/color]

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.

  #3  
Old January 27th, 2006, 02:15 PM
Hul Tytus
Guest
 
Posts: n/a
Default Re: question about #exec infosystems.www.authoring.html

Thanks Tim. The lack of a .shtml desigination caused the problem.

Hul

Tim <tim@mail.localhost.invalid> wrote:[color=blue]
> On Tue, 24 Jan 2006 18:39:32 -0500, Hul Tytus sent:[/color]
[color=blue][color=green]
> > 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.[/color][/color]
[color=blue]
> 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.[/color]
[color=blue]
> --
> 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.[/color]
[color=blue]
> This message was sent without a virus, please destroy some files yourself.[/color]

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles