Posts Tagged “FastCGI”
On one of my servers I run a couple sites via Django and recently when I upgraded the server it broke the Django sites that were running via FastCGI. After some investigation I was able to find the issue which happened to be a basic conflict between python2.4 which is the default python version on CentOS Linux and python2.6 which I installed to run via python26 instead of python. This way I can change the environment of any site that needs it to Python version 2.6 without much hassle. Below I describe the error in detail as well as what resolved the issue.
Read the rest of this entry »
Tags: 2.4, 2.6, CentOS, django, django.core.management, error, FastCGI, ImportError, Linux, manage.py, project, python, python2.4, python2.6, site-packages, syncdb
No Comments »
I have been messing around with Django over the past week and experimenting with various settings. I first ran Django using mod_ptyhon from Apache but the results were unimpressive. Apache served the Django project’s pages extremely slow using the Apache mod_python module. After some reading I decided to give the Apache mod_fastcgi module a try to see if the results were any better. I was definitely happier with the web page load time so I then decided to experiment with various FastCGI settings.
Read the rest of this entry »
Tags: apache, chkconfig, django, FastCGI, fcgi, host, init, init script, init.d, mod_fastcgi, mod_python, port, preforked, project, python, restart, runlevel, servers, services, socket, start, status, stop, tcp, threaded
No Comments »
I got the error below when attempting to configure a Django project to be served by FastCGI via Apache for the first time. I have configured FastCGI but it had been awhile and the server I was working with had ISPConfig installed on it and what I thought to be mod_fastcgi. Below I explain the error, my mix up, and how to resolve on a Linux server.
Read the rest of this entry »
Tags: apache, CentOS, compile, django, FastCGI, FastCGIExternalServer, httpd, httpd.conf, Linux, LoadModule, make, Makefile, modules, mod_fastcgi, mod_fastcgi.so, mod_fcgid, syntax error
No Comments »
|