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 Kunder som kunne bruge dette svar