Search code examples
pythonlocalhostcgi-bin

How to run a simple cgi-bin python website on localhost in ubuntu


I have the files of a cgi-bin webpage on my computer. And I would like to run the page in my localhost.

I'm completely not experienced. Could you give me a hint, or tutorial, how can I run ready cgi-bin files on my localhost?

Thanks,


Solution

  • I would recommend apache for a webserver, and the tutorial on their website. It took me a little while to figure it out, but it's good for just about anything.

    Also, since you tagged python, here's their intro to cgi