I’m currently working on a small project which is written in Python and based on MVC architecture. Here’s a glimpse of its Apache host config:
<VirtualHost *:80> ServerName python.raven.com ServerAdmin webmaster@python.raven.com DocumentRoot /home/www/python/raven # logs ErrorLog /var/log/apache2/python.raven.com-error_log CustomLog /var/log/apache2/python.raven.com-access_log combined # set custom handler <directory /home/www/python/raven> SetHandler mod_python PythonHandler index PythonDebug On </directory> # override <locationmatch> SetHandler None </locationmatch> Alias /images /home/www/python/raven/pub/images </VirtualHost>
The framework’s core will be based on my previous MVC work (written in PHP).