On Windiws machine (using Wampserver or whatever, using perl or python), when I use such approach:
#!C:\perl\perl.exe
print "hi"
and when I open localhost/file.pl
, it works well. But If i remove first line (path to .exe
), it doesn't.
Is there any way (either with htaccess
or httpd.conf
) , so without need of that first line in each .pl
file, they were resolved to that path automatically?