I have just installed python2.6 and mod_wsgi on my MediaTemple CentOS5.8 server. I had to install python2.6 along side the default python version of 2.4. I then compiled mod_wsgi telling it to use python2.6.
I have an Arch Linux server that used to use Python 2.7.3 just fine with Apache and mod_wsgi-3.4-2. I have both Python 2.7.3 and 3.3.0 installed on the server, and both executables are located in /usr/bin. Recently it has started to use Python 3. I need Apache to go back to using Python 2.7.
I have a problem running Django with mod_wsgi and Apache on CentOS.
Django runs on Python 2.5 or above but CentOS comes with Python 2.4. I can't just upgrade the default Python 2.4 because it breaks other services such as yum. I installed Python 2.7 into different directory.
I followed most of the tutorial and article about running Django with mod_wsgi but never able successfully run it.
I am building a web app using Python 2.7, its bottle micro framework, and apache (via mod_wsgi). This app has some RESTish endpoints, one of which results in a connection error in the browser (Firefox shows "The connection was reset" while Opera shows "Connection closed by remote server").