python_cgi
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
python_cgi [2023/12/11 12:20] – created admin | python_cgi [2023/12/11 12:25] (current) – admin | ||
---|---|---|---|
Line 5: | Line 5: | ||
< | < | ||
+ | Dann in Nginx Config im Serverteil folgendes zufügen: | ||
+ | < | ||
+ | |||
+ | location /cgi-bin/ { | ||
+ | gzip off; | ||
+ | root | ||
+ | fastcgi_pass | ||
+ | include / | ||
+ | fastcgi_param SCRIPT_FILENAME | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Python Dateien dann in / | ||
+ | |||
+ | < | ||
+ | import cgi | ||
+ | </ |
python_cgi.1702297224.txt.gz · Last modified: 2023/12/11 12:20 by admin