What is the cgi-bin directory for?
Active Web Hosting no longer creates a cgi-bin directory on your CGI server.
However, some older CGI accounts may have this directory created for you. This
was a place one would put their CGI scripts. It is best to install your scripts
on your CGI server in subdirectories created by the script installation or
according to the instructions that come with the script. If you place scripts
inside subdirectories inside the cgi-bin directory, the scripts may not work. You
can delete the cgi-bin directory if you are sure there are no scripts installed
in it or you never used it.
Here are examples of where your scripts could go:
Wrong: | cgi-bin/test/hello.cgi |
Right: | cgi-bin/hello.cgi |
Right: | test/hello.cgi |
Right: | mydir/test/hello.cgi |
Please also remember that anyone with other FTP accounts (such as those you might host) on your domain are not allowed to use any part of your CGI server or the files and directories on it.