Hi folks, I need help with the installation of a CGI script on my website. I tried installing it myself (my first attempt at installing a CGI script) but was unsuccessful. I'm not a programmer so its difficult for me. Can anyone help?
What went wrong? Did you get a 500 error? CGI scripts are very picky about being uploaded in ASCII mode in your ftp. I'm no expert but have installed a couple perl scripts and found that making sure you follow every step of the instruction and make sure to upload in ASCII mode and set the correct chmod permissions usually guarantees a successful install.
I did upload it in ASCII format as was mentioned in the instructions. And yes, I also set the correct CHMOD permission - which was 755 according ot eh instructions. uploaded it in the cgi-bin directory. One thing I'm confused about..in my root folder, I have cgi-bin directory and an scgi-bin directory!! I uploaded in both but no success! The script I'm talking about is MetaboCalc which is a sort Body Mass Index Calculator. Its free and you can find it here
Ever have any luck on this??? I took a quick peek and if you are still having problems, contact your host and ask them what your path to perl is and make sure that it is right inside the file. I got the quote below off the url you provided. "The web server must support both the GET and POST request methods. (Ask your hosting provider about this if you're not sure.)" If none of this works I have no clue as this has always fixed any scripts I have had problems with. I would use the cgi-bin and ask the host what the other one is for. I think I used to have both on an old host I used to use but I forget why. I'm sorry I couldn't be of more help as I haven't used a cgi script in quite a long time.
Thank you very much for taking time to reply, your help is certainly valuable... I had actually put off the plan of installing this script for a while. Will surely ask my host about this stuff and then try to install again. Let's hope I'm successful this time!