oh, the index.html has to be placed outside of cgi-bin, weird i remember on other server i put it inside cgi-bin, but i still can't run test.py inside cgi-bin, which i followed from https://www.helionet.org/index/topic/29540-total-beginner-need-help-running-a-python-script/ oh i can run test.py now, but it's weird how i did it, the shebang was #!/usr/bin/python3.6 which I copied and it can't run with 500 Internal Server Error, just now i changed it to #!/usr/bin/python and it can run, then I changed it back to 3.6 and surprising it is able to run so it's all good now, thank you!