Steps to fix the error Options ExecCGI is off in this directory in Apache Web Server.
Apache Error: Options ExecCGI is off in this directory
Recently after recompiling PHP on a Linux server; Bugzilla installed on same server for bug management started throwing “403 Forbidden: Access is forbidden to the requested page“ Error.
Apache error log was showing following Error
[Tue Sep 20 11:32:33 2011] [error] [client xx.xx.xx.135] Options ExecCGI is off in this directory: /usr/local/apache/htdocs/bugzilla/index.cgi
This happens when CGI programs is restricted to run from arbitrary directories.