perl module failing
Posted: 14. June 2010 21:50
I have a perl module logcnt.pl which maintains a simple visitors count. If I move it up to my web host (running Unix/linux) it works fine.
I used to have an Apache server (on XP) that I use to set up manually with php, perl and Mysql it worked also.
I have recently got back to doing some web work and used the latest Xampp to install and setup Apache, I am running Win 7 Ultimate.
I have the shebang line set to #!/usr/bin/perl and when I run the index.shtml page I get the following [an error occurred while processing this directive]. I have changed the line to #!"C:\xampp\perl\bin\perl.exe" and it still fails (even used forward slashes).
Even put the "c:\xampp\perl\bin\" into the PATH environment.
I AM CONFUSED?????
I used to have an Apache server (on XP) that I use to set up manually with php, perl and Mysql it worked also.
I have recently got back to doing some web work and used the latest Xampp to install and setup Apache, I am running Win 7 Ultimate.
I have the shebang line set to #!/usr/bin/perl and when I run the index.shtml page I get the following [an error occurred while processing this directive]. I have changed the line to #!"C:\xampp\perl\bin\perl.exe" and it still fails (even used forward slashes).
Even put the "c:\xampp\perl\bin\" into the PATH environment.
I AM CONFUSED?????