Where should I put my CGI or Perl scripts?

Perl scripts (*.pl, *.cgi files) can be executed from any location within your public_html directory. While there are a few relatively minor potential benefits in storing Perl scripts within the cgi-bin directory, doing so is strictly optional.

Possible benefits of storing Perl scripts in cgi-bin:

- As /cgi-bin is a common default location used to store Perl scripts, many free scripts will be setup to run in that path by default.

- Users of Microsoft FrontPage should note that storing scripts in /cgi-bin will decrease any chance of FrontPage making unwanted permission setting changes.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I am receiving a 500 Internal Server Error. What do I do?

The 500 Internal Server Error can be caused by many different things. If you receive this error...

What is the path to my cgi-bin directory?

The path to the cgi-bin directory for all Colosseum Online Inc. accounts is:...

What is the path to Perl?

The path to Perl on all of our servers is: /usr/bin/perl Note that this is the default path...

What is the path to Sendmail?

The path to Sendmail on all of our servers is: /usr/sbin/sendmail