Where Do I find Apache Config files in Ubuntu..I am trying to Install Python 2.7.2 on Ubuntu now..

Asked by venkatesha shibrekere vasudeva

Now, setup apache to compile python files:
sudo apt-get install -y libapache2-mod-python

You'll now need to open your apache config file (default, or site/domain specific) and add the following to the vhost declarations:
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On

From the Google search..Thanks in advance for your suggestions

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Micke Löfstrand (mikaelld) said :
#1

/etc/apache2/sites-enabled/000-default or some other site configured in /etc/apache2/sites-enabled/

More information might be found here: https://wiki.ubuntu.com/HelpOnInstalling/ApacheWithModPython

Can you help with this problem?

Provide an answer of your own, or ask venkatesha shibrekere vasudeva for more information if necessary.

To post a message you must log in.