typo
[koed-quiz.git] / koedquiz.vhost.template
1 <VirtualHost *:80>
2     ServerName "%(server_name)s"
3     ServerAdmin "%(server_admin)s"
4
5     WSGIDaemonProcess %(wsgi_name)s user=%(user)s group=%(user)s processes=2 threads=15 display-name=%%{GROUP} python-path=%(site_packages)s
6     WSGIProcessGroup %(wsgi_name)s
7
8     WSGIScriptAlias / %(path)s/%(project_name)s.wsgi
9     <Directory %(path)s>
10         Order allow,deny
11         allow from all
12     </Directory>
13
14     Alias /media %(path)s/media
15     <Directory %(path)s/media>
16         Options Indexes
17         Order allow,deny
18         Allow from all
19     </Directory>
20         
21     Alias /static %(path)s/releases/current/%(project_name)s/static
22     <Directory %(path)s/releases/current/%(project_name)s/static>
23         Options Indexes
24         Order allow,deny
25         Allow from all
26     </Directory>
27
28     LogLevel warn
29     ErrorLog /var/log/apache2/%(error_log)s
30     CustomLog /var/log/apache2/%(access_log)s combined
31 </VirtualHost>