Hello everyone,
Currently my python code has able to be accessed from ubuntu terminal,
but when I call it via CGI / url address it cause
500 internal server error,
here's my code :
this located on :
/var/www/html/cgi-enabled/cgi.py
And I also put some
test on python with html (
test.py):
This would be run if me delete the entire
import and from code (for
test.py).
This is my CGI settings :
this located on :
/etc/apache2/conf-available/cgi-enabled.conf
my python version is : 3.8.2.
And this tutorial where I learnt to setup apache and python :
tutorial-apache-python
please someone help me
Thanks