I'm having a problem setting up Django on our CentOS server using mod_python. Site 'A' is running PHP (Codeigniter) and site 'B' is running Django. Our Django site is running perfectly.
However, every once in a while (maybe 1 or 2 requests in 10), site 'A' is giving a 404 error. With further investigation, I've discovered that there are a number of server environment variables that are being set globally by Django. For example, looking at a phpinfo() page within site A:
_ENV["DJANGO_SETTINGS_MODULE"] mysite.settings _ENV["REQUEST_URI"] /path/to/my/django/site/page
Because all the request paths are set to my Django site URLs, Codeigniter is 404ing.
The setup in httpd.conf is that we have location tags set up within a virtualhost directive.
Can anyone help?