I can't get a simple "hiThere.pl" script to work from the browser nor the Windows Command Shell. For my shebang line, I have
- Code: Select all
#!C:\xampp\perl\bin\perl.exe
Also, when I open the Command Shell, my working directory is C:\ Program Files\Windows Resource Kits\Tools. Is that the problem? I don't know how to change working directories in Windows. Besides, I am typing the FULL PATH to the script when I try to run it from the Command Shell.
Is there more setup to do that the ApacheFriends.org website does not tell you? Am I incorrect to try to access my hiThere.pl script directly in the browser? (For example, "http://localhost/mysite/hiThere.pl".) This is not a CGI script, I am simply trying to run a basic Perl script to test for proper installation.
I've read other similar posts here but it only has me more confused! Also, on perl.apache.org, there seem to be various ways to configure mod_perl. I don't know if I should do any of this at all. The ReadMe file from XAMPP says you only need to unzip to your xampp directory, run setup_xampp.bat twice, and go!
What is missing from the XAMPP docs?