Making Apache Suck Less (1)
• Don't use Apache default configurations for hosting Python
web applications.
• Don't use the prefork MPM unless you know how to
configure Apache properly, use the worker MPM, it is more
forgiving.
• Don't allow Apache to automatically scale out the number
of processes over too great a range.
• Don't try and use a single Apache instance to host Python,
PHP, Perl web applications at the same time.
Saturday, 16 March 2013
So, whatever you do, don't use the default configuration
that comes with your server distribution. For Python web
applications you generally can't avoid having to tune it.
This is because the Apache defaults are setup for static
file serving and PHP applications. Especially don't try and
use the same Apache instance to host Python web
applications at the same time as running PHP or Perl
applications as each has different configuration
requirements.