Tag: CGI executing python

How to configure python with apache in ubuntu?

Common Gateway Interface(CGI) helps you run python application in apache webserver in ubuntu. Follow the steps which help you to configure python with apache webserver. Step 1: [code] sudo mkdir /var/www/python [/code] Step 2: [code] sudo vim /etc/apache2/sites-available/default [/code] Step 3: Add the following lines in “default” file and save the file. [code] ScriptAlias /python/ /var/www/python/ …

Continue reading

Permanent link to this article: https://blog.openshell.in/2013/03/how-to-configure-python-with-apache-in-ubuntu/