403 permission error cgi/.pl file

Discussion in 'Site & Server Administration' started by buck, Mar 26, 2008.

  1. #1
    I was having some issues with a script calling a .pl file (cgi related) to where it was just opening the file on the site as txt rather than running the script.

    I edited httpd.conf with addhandler for .cgi and .pl

    now the script appears to at least be recognized to run, but it says 403 Permission denied on the file, but the file has been tried of 755 and 777.

    So is there something else that needs to be edited in the httpd.conf or other area of the server for this issue.
     
    buck, Mar 26, 2008 IP
  2. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you chown -R user:group file ?
     
    SSANZ, Mar 26, 2008 IP