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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...