Blog: 2025-11-28: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This cgi script <pre> hack $ cat cgi-bin/hello.py #!/usr/bin/env python3 print('Content-type: text/html') print() print('<h2>WHOA</h2>') </pre> This server command python3 -m http.server --cgi 8000 Good https://stackoverflow.com/questions/30516414/how-to-run-cgi-hello-world-with-python-http-server") |
No edit summary |
||
| Line 14: | Line 14: | ||
Good https://stackoverflow.com/questions/30516414/how-to-run-cgi-hello-world-with-python-http-server |
Good https://stackoverflow.com/questions/30516414/how-to-run-cgi-hello-world-with-python-http-server |
||
wiki.cgi #idea |
|||
Revision as of 00:18, 28 November 2025
This cgi script
hack $ cat cgi-bin/hello.py
#!/usr/bin/env python3
print('Content-type: text/html')
print()
print('<h2>WHOA</h2>')
This server command
python3 -m http.server --cgi 8000
Good https://stackoverflow.com/questions/30516414/how-to-run-cgi-hello-world-with-python-http-server
wiki.cgi #idea