cgi-bin directory

cgi-bin directory

Posted by: afoster
Posted on: 2009-10-03 10:37:00

I am confused about where I put any cgi scripts. all other hosts that I have used had a cgi-bin directory, this does not or if it does, i don't know where it is. Can some one point me in the right directory? I saw something in the wiki, but hopefully this would not be as complicated as that seemed to be. thanks in advance for any help.

Re: cgi-bin directory

Posted by: Atropos7
Posted on: 2009-10-03 10:41:00

The pertinent part in the Wiki was:

" Do I have to put my cgi scripts in a special cgi-bin directory? Where is it?

NO! If you have cgi access enabled, any script with a .cgi or .pl extension will be recognized by the server to be a cgi script and does NOT have to be in a special directory. The only restriction is that you need to place those files under your domain directory. You can put them in a directory named "cgi-bin" if you'd like of course! (examples: /home/youruser/yourdomain.com/blah.cgi or /home/youruser/yourdomain.com/cgi-bin/blah.cgi) Just be sure to tell your FTP client to upload them as ASCII files or they won't work! "



Customer since 2000 cool openvein.org

Re: cgi-bin directory

Posted by: afoster
Posted on: 2009-10-03 12:14:00

Thanks for the quick response, it works.

Tags: bin directorycgi scriptsthanks in advancewikihosts