Error 500 while executing perl
Posted: 06. September 2013 10:22
Dear all,
I have perl files in cgi-bin and htdocs folder.
While executing it was showing "error 500" . I read about several posts regarding this and finally understood it is problem with mentioning
/usr/bin/perl
or
/opt/lampp/bin/perl
In my scripts i have tried these both to run separately. But still same error.
How to call exact path to execute my perl scripts and any other configuration have to do?
Am using XAMPP version 1.8.1 in CentOS.
In windows i put the path (#!"C:\xampp\perl\bin\perl.exe"). Its working fine.
Pl help to fix this problem. Thanks in advance.
I have perl files in cgi-bin and htdocs folder.
While executing it was showing "error 500" . I read about several posts regarding this and finally understood it is problem with mentioning
/usr/bin/perl
or
/opt/lampp/bin/perl
In my scripts i have tried these both to run separately. But still same error.
How to call exact path to execute my perl scripts and any other configuration have to do?
Am using XAMPP version 1.8.1 in CentOS.
In windows i put the path (#!"C:\xampp\perl\bin\perl.exe"). Its working fine.
Pl help to fix this problem. Thanks in advance.