Running Python CGI program in Ubuntu using apache2
Step1: Check if apache2 is isntalled in your ubuntu or not. dulton@dulton-inspiron:~$ apache2 -version Server version: Apache/2.4.18 (Ubuntu) Server built: 2017-09-18T15:09:02 In mycase apache2 is already installed If you don’t have apache2 installed then installed is using the below command dulton@dulton-inspiron:~$sudo apt-get install apache2 Step2: Create directory mkdir /var/www/cgi-bin Step3: We have to edit two configuration files in apache to handle python cgi scripts bye apache. Followings are the file: /etc/apache2/apache2.conf /etc/apache2/conf-available/serve-cgi-bin.conf Step3.1 : Editing the /etc/apache2/apache2.conf file $sudo gedit /etc/apache2/apache2.conf and add the following code in the end ################################################################### ######### Adding capaility to run CGI-scripts ################# Se...