morss/www/cgi/.htaccess

10 lines
119 B
ApacheConf

order allow,deny
deny from all
<Files main.py>
allow from all
AddHandler cgi-script .py
Options +ExecCGI
</Files>