Jump to content

Recommended Posts

Posted

I have a cgi script in my public_html/cgi-bin folder, and it's chmod'd 755. It is called from a .shtml page in the public_html directory with the following:

 

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

 

The script is just to add some up-to-the-minute statistics to the static page.

 

Obviously, it's not working, or I wouldn't be posting here.

 

Any suggestions on why it isn't working, or what I can do to fix it?

 

TSM,

Pam

Posted

Does file "will_counts.cgi" work without being called from the .shtml page?

EDIT

This path works for me:

 

<!--#include virtual="/cgi-bin/will_counts.cgi" -->

 

Posted

I did it another way. I created a .txt file in the public_html directory, have my transcription script update/rewrite the file each time new records get transcribed, and then just inhale the .txt file with the usual <!--#include virtual="./will_counts.txt" --> thingamajig.

 

Thanks for all the suggestions! I didn't see them until after I'd done my work-around.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...