I ran into this problem yesterday. First, we do not run suexec on our servers. I know many think this is odd, but it is our preference and we have never had difficulties without it.
We have two servers that I am going to compare here.
On server 1, you can run cgi scripts with either the .pl or the .cgi extension in the scgi-bin of any account without problems.
On server 2, you can run cgi scripts with the .cgi extension, but the .pl extension will create a 500 internal server error every time.
These are both cpanel servers, server 1 is RH 7.3 and server 2 is RH 9. I have checked permissions and ownership and all is the same.
Actually, I can put a my.pl on server 2 in the scgi-bin and it will 500 error, but if I simply rename the file my.cgi, it will work perfectly.
I have tried to search the httpd.conf files on each server for differences related to script aliases, etc, but can find no differences.
Anybody have any suggestions as to what would cause this difference in behaviour?



LinkBack URL
About LinkBacks
Reply With Quote




