Advertisement
metalx1000

Python HTTP server with CGI

Nov 6th, 2014
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. #python HTTP server with CGI abilities.
  2. python -m CGIHTTPServer
  3. #default port is 8000 but can be changed like so
  4. python -m CGIHTTPServer 9000
  5.  
  6. #CGI files must be in cgi-bin folder in web root unless other wise stated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement