I'm having a bit of a problem that I hope someone can help me with. I'm fairly familiar with Perl, having written several scripts over the last 5 years or so, but I never had to deal with the server itself. Now my company has decided to host our own web site, and I need to deal with the server.
The server was set up and RedHat 7.2 and Apache 1.3.2 were installed by a consultant in a trade-for-services deal. He got the web server running, and PHP working, but Perl is not properly configured. This is what I'm asking for help with.
I know Perl isn't configured properly because, while I can type "which perl" and get a reasonable response (/usr/bin/perl), I try to run a simple script and I get incorrect results. When the file extension is 'pl', I am prompted to download the file. When the extension is 'cgi', I get a 403 Forbidden error. I suspect MIME type problems on the first error and failure to give permissions everywhere they're needed on the second.
Can anyone tell me either what needs to be done to get Perl working or where I can find the information I need? Thanks a lot for your help.
Marla
The server was set up and RedHat 7.2 and Apache 1.3.2 were installed by a consultant in a trade-for-services deal. He got the web server running, and PHP working, but Perl is not properly configured. This is what I'm asking for help with.
I know Perl isn't configured properly because, while I can type "which perl" and get a reasonable response (/usr/bin/perl), I try to run a simple script and I get incorrect results. When the file extension is 'pl', I am prompted to download the file. When the extension is 'cgi', I get a 403 Forbidden error. I suspect MIME type problems on the first error and failure to give permissions everywhere they're needed on the second.
Can anyone tell me either what needs to be done to get Perl working or where I can find the information I need? Thanks a lot for your help.
Marla