summaryrefslogtreecommitdiff
path: root/apache/apache-wsgi.conf
blob: bd6ea55ba933d8814ce65ef8f7d63f88f8f77811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<VirtualHost *:80>
  ServerName chimere.example.com
  WSGIDaemonProcess chimere processes=2 maximum-requests=500 threads=1
  WSGIProcessGroup chimere
  WSGIScriptAlias / /var/local/chimere/chimere/apache/django.wsgi
  Alias /static  "/var/local/chimere/example_project/static"
  Alias /media  "/var/local/chimere/example_project/media"
  Alias /admin-media  "/usr/lib/python2.7/dist-packages/django/contrib/admin/media/"
  Alias /tinymce "/usr/share/tinymce/www"
  <Directory "/usr/share/tinymce/www/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>

  ErrorLog ${APACHE_LOG_DIR}/chimere/error.log
  LogLevel warn
  CustomLog ${APACHE_LOG_DIR}/chimere/access.log combined

</VirtualHost>