-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathapache.config
35 lines (28 loc) · 912 Bytes
/
apache.config
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
32
33
34
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
# Use only 1 Python sub-interpreter. Multiple sub-interpreters
# play badly with C extensions.
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
WSGIDaemonProcess pyramid threads=4
WSGIScriptAlias / /home/ubuntu/SegAnnDB/wsgi.py
<Directory /home/ubuntu/SegAnnDB>
WSGIProcessGroup pyramid
AllowOverride None
Require all granted
</Directory>
</VirtualHost>