Apache httpd is having "(13)Permission denied" error when executing a CGI script

Solution In Progress - Updated -

Issue

  • Seeing the following error message in the Apache logs when attempting to execute a cgi script via Apache
AH01215: (13) Permission denied: exec of '/var/www/cgi-bin/test.cgi' failed

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • Apache

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content