Discussion in 'Plesk for Windows - 8.x and Older' started by joelmoss, Mar 25, 2004.
Can someone tell me what the correct path to perl is for use in perl scripts?
Perl SheBang Syntax If you are using PSA correctly then IIS should be installed. Right Click the desired domain Click Properties Click The Home Directory Tab Click Configure Click Add Browse to C:\Program Files\Swsoft\Plesk\Perl\bin Select either Perl.exe or PerlIIS.dll Click OK Rename Program Files to Progra~1 in the directory window Use this same method for .pl, .plx and .cgi files I strongly recommend you use the .dll filter versus the executable for speed. In your code, the correct syntax is: #!Perl Hope this helped.
You should not add extensions to IIS this way. Plesk adds them. If for some reason they aren't there, simply check the domain settings in Plesk. He is correct for one variable as to the path. There are others and some vary depending on the application. I would recommend checking a site such as www.activestate.com which creates the primary perl solution for windows. (there are few others, but none as stable or as widely known or used.)
Try and take a look at this perl script. http://www.theperfectpage.org/DLcounter/index.php?dl=1 I had to rename it to .pl instead of .cgi for it to work.
Separate names with a comma.