burim:web:cgi-bin:php
install apache2 and php
apache install: sudo apt-get install apache2 python install: sudo apt-get install python
- enable the cgi module it'self
sudo a2enmod cgi
* enable cgi bin
<Directory /var/www/html/upload/cgi-bin> Options ExecCGI SetHandler cgi-script </Directory>
<Directory /var/www/html/upload/> Options +ExecCGI AddHandler cgi-script .py </Directory>
https://www.linux.com/blog/configuring-apache2-run-python-scripts
exmaple page
burim/web/cgi-bin/php.txt · Last modified: 2018/09/02 13:01 by burim
