Skip to main content

Perl files wont open, give 404

Comments

7 comments

  • cPanelMichael
    I have checked permissions. The cgi-bin directory is 0755, and the files inside are 0644.

    Hello, Try updating the .pl files to 0755 permissions. Also, browse to "WHM >> Modify an Account" and ensure "CGI Privilege" is enabled for the account in-question. Thank you.
    0
  • rudtek
    Thanks for your help! I changed the permissions to 0755 and confirmed CGI privilege. No change in behavior. I still get the error. Also, it's a 500 error, not 404. I tried changing my question, but it said I couldn't because it had spam. I don't know why it would say that.
    0
  • cPanelMichael
    Also, it's a 500 error, not 404. I tried changing my question, but it said I couldn't because it had spam. I don't know why it would say that.

    What output do you see in /usr/local/apache/logs/error_log when you notice the 500 error code? Thank you.
    0
  • rudtek
    [Tue Nov 21 09:18:06.473958 2017] [cgid:error] [pid 14058:tid 140005927765984] (2)No such file or directory: AH01241: exec of '/home/user/public_html/cgi-bin/head.pl' failed
    0
  • cPanelMichael
    Hello, What permission and ownership values are configured for the /home/$username/public_html/cgi-bin/ directories and above (up to /home/$username)? Thank you.
    0
  • rudtek
    755
    0
  • cPanelMichael
    Hello, Feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.
    0

Please sign in to leave a comment.