Q:
Hi Peter,
I am trying to run my cgi scripts on an Apache server running on Win2000.
I have a problem with setting the first line in my CGI program to the
correct Perl path.
The path to Perl is: C:\Oracle9iAS\Apache\perl\5.00503\bin\MSWin32-x86
so I set like this:
#!C:\Oracle9iAS\Apache\perl\5.00503\bin\MSWin32-x86
or
#!\Oracle9iAS\Apache\perl\5.00503\bin\MSWin32-x86
or
#!/Oracle9iAS/Apache/perl/5.00503/bin/MSWin32-x86
But I always get the "500 Internal Server Error"
What is the correct way to set this path ?
Thank you very much,
*NAME-DELETED* *NAME-DELETED*
A:
The path to the perl interpreter is
#!C:\Oracle9iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe
should also include the file name of the interpreter exe.
Regards,
Peter
[ back to toc ]