Tiger Technologies Technical Support

What is the path to my cgi-bin directory?

This page is showing a generic answer. To see a more
specific answer, please type your domain name below:

If you install any scripts, you may need to know the location (path) of your "cgi-bin" directory on the server's disk.

The path to your cgi-bin directory is:

/var/www/html/ex/example.com/cgi-bin

So what is the "cgi-bin" directory, anyway?

The "cgi-bin" directory is the location you will use to store your Perl or compiled script files. Any files you place in it will be treated as programs (instead of HTML pages or images), and will be "run" by the server instead of displayed normally.

The "cgi-bin" directory does not exist until you create it with your FTP program at the top level of your Web site directory. From the perspective of your FTP program, it's just a normal directory (folder) that you can create, but it's treated differently by the server because of its special name.

If you wish, you can make other directories act like the "cgi-bin" directory with a little extra effort.

Search


Related Topics

FTP Publishing

Making Additional Directories Executable