/etc/apache2/sites enabled/booktype-instance1.conf # Apache configuration for Booktype server V1.0.6 # Change the following three lines for your server ServerName booktype.arnemueller.com/booktype SetEnv HTTP_HOST "127.0.1.1" ServerAdmin arne@localhost SetEnv LC_TIME "en_GB.UTF-8" SetEnv LANG "en_GB.UTF-8" WSGIScriptAlias / /var/www/booktype/instance1/instance1_site/wsgi.py # uncomment 'Require all granted' for Apache 2.4 without mod_access_compat Require all granted Options FollowSymLinks Alias /static/ "/var/www/booktype/instance1/static/" Require all granted Options -Indexes Alias /data/ "/var/www/booktype/instance1/data/" Require all granted Options -Indexes ErrorLog ${APACHE_LOG_DIR}/booktype-instance1-error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/booktype-instance1-access.log combined /etc/hosts 127.0.0.1 ubuntu 127.0.1.1 booktype.arnemueller.com booktype # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters