I am trying to run a cgi script using apache but when I input in the browser https://localhost/cgi-bin/(anything) it says "You don't have permission to access /cgi-bin/(anything) on this server.
I have added
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
And have also to my knowledge put the right permissions on the files. Is there anything else missing?
Best Answer
You can find information on the official web site: https://httpd.apache.org/docs/2.2/howto/cgi.html