pison Posted August 15, 2012 Share Posted August 15, 2012 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 Quote Link to comment Share on other sites More sharing options...
Ice IT Support Posted August 15, 2012 Share Posted August 15, 2012 Could you post a link to the shtml page please? Quote Link to comment Share on other sites More sharing options...
Byron Posted August 15, 2012 Share Posted August 15, 2012 Does file "will_counts.cgi" work without being called from the .shtml page?EDITThis path works for me: <!--#include virtual="/cgi-bin/will_counts.cgi" --> Quote Link to comment Share on other sites More sharing options...
pison Posted August 16, 2012 Author Share Posted August 16, 2012 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.