Forbidden - 403 error Apache
- by philippe
I was setting my local Apache server to run Python cgi, then I came with the following error:
Forbidden
You don't have permission to access /hw10/main.cgi on this server.
What I've changed on my http config file was:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin">
AllowOverride None
Options FollowSymLinks +ExecCGI
Order allow,deny
Allow from all
Require all granted
</Directory>
AddHandler cgi-script .cgi .py
May someone please help me with that? I was trying to configure my Apache server to run .cgi Python scripts, and I came across that.