Templates Tagged "apache"

template icon

Apache 2 Django Application Configuration

February 16, 2012This template helps create apache 2 configurations for django applications using mod_python. The assumed structure is that "/var/www/" is the base path and that sites exist in a directory such as "/var/www/%[app_name]%/. This file should be placed named %[fqdn]% and placed in /var/www/sites-available. After this file is saved you should issue a2ensite %[fqdn]% then restart apache.
template icon

Apache2 mod_wsgi for django

February 16, 2012A simple template to setup a django site for apache2 and mod_wsgi.
template icon

Setup enivornment for new django application

May 11, 2012Copying this entire config into an ssh window on a linux host will create all the necessary scaffolding to run a django 1.4 site on apache2 using wsgi and create the necessary database and user.
template icon

Password protect a site with .htaccess

February 24, 2012Despite htaccess being around forever, I always forget how to implement it. This is a simple "just get it to work" implementation.