
Nur wenn ich es als .cgi abspeichere wird der Interpreter bemüht.
Ich habe schon einige Varianten ausprobiert. Hier mal die Optionen die ich benutz habe:
Code: Alles auswählen
<Files ~ "\.py$">
Options +ExecCGI
</Files>
AddHandler cgi-script py
AddType cgi-script py
AddType application/x-httpd-cgi .py
AddHandler python .py
Action python "/usr/bin/python2
<Directory "/cgi-bin">
ForceType cgi-script
SetHandler cgi-script
AddHandler cgi-script .py
AddType cgi-script .py
Options +ExecCGI
</Directory>
Kann mir da jemand weiter helfen? Sonst muß ich doch XAMPP nehmen
