Running CGI Scripts with CGIHTTPServer

Intro : So why should we be interested in CGI which stands for common gateway interface. Well for instance, try to recall the websites that you have been in the last 1 hour. Now out of those websites, some where static and some were dynamic. The latter would mean that the contents of that website kept changing in real time. CGI scripting is helpful when you want to generate content from the data residing in a database. This is not only convenient but also cuts a lot of time. ...

October 20, 2015 · 4 min · Tasdik Rahman

Running CGI Scripts on Apache2

Intro Have you ever wanted to create a webpage or process user input from a web-based form using Python? These tasks can be accomplished through the use of Python CGI (Common Gateway Interface) scripts with an Apache web server. CGI scripts are called by a web server when a user requests a particular URL or interacts with the webpage (such as clicking a “Submit” button). After the CGI script is called and finishes executing, the output is used by the web server to create a webpage displayed to the user. ...

September 30, 2015 · 3 min · Tasdik Rahman