Portal Home > Knowledgebase > CGI, Perl, Sendmail > Where should I put my Perl scripts?


Where should I put my Perl scripts?




Here at Mxhub 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

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read