Options ExecCGI is off in this directory:

H

helmut_blass

Hello,
I am desperately trying to get my python script running, but I alway get a 403-Error.
apache logfile says:
Options ExecCGI is off in this directory:/home/user12/cgi-bin/showblogs.py
-
apache configuration:

<Directory "/home/user12/cgi-bin/">
AllowOverride None
AddType application/python .py
DirectoryIndex index.html index.htm index.php index.py
Options +ExecCGI Indexes FollowSymLinks MultiViews
AddHandler cgi-script .cgi .pl .py
AllowOverride All
Order allow,deny
allow from all
</Directory>

So what is missing or wrong here?
thanx for your help, Helmut
 
X

Xavi

You do not say the version of apache. If it's the 2.4
must change "allow from all" to "Require all granted".

HTH
 
H

helmut_blass

You do not say the version of apache. If it's the 2.4

must change "allow from all" to "Require all granted".

it is apache2.2.14, so that's not the point.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top