Web Cgi do not run

Where I setup autoport = 1
I have one Ubuntu server and all the file have the permission 775 and the server show to me a following error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Apache/2.4.7 (Ubuntu) Server at 10.10.10.10 Port 80

Generally means missing libraries.

Also for most cgi-bin’s you only want to use 755 and nothing higher.