-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapache.conf
More file actions
31 lines (25 loc) · 975 Bytes
/
Copy pathapache.conf
File metadata and controls
31 lines (25 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<VirtualHost *:80>
ServerName {{ domain }}
WSGIScriptAlias / {{ path_to_project }}/akar/run.wsgi
# These parameters are not supported on Windows.
WSGIDaemonProcess akar user=akar group=akar threads=4
WSGIProcessGroup akar
LogLevel error
ErrorLog {{ path_to_project }}/akar/logs/error.log
CustomLog {{ path_to_project }}/akar/logs/access.log combined
ServerSignature On
Alias /static/admin/ "{{ path_to_project }}/akar/env/lib/python2.6/site-packages/django/contrib/admin/media/"
Alias /static/ "{{ path_to_project }}/akar/static/"
<Directory />
AllowOverride None
</Directory>
# Allow access
<Directory "{{ path_to_project }}/akar/static/">
Order allow,deny
Allow from all
</Directory>
<Directory "{{ path_to_project }}/env/src/django/contrib/admin/media">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>