forked from tetherless-world/whyis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapache.conf
More file actions
24 lines (21 loc) · 669 Bytes
/
Copy pathapache.conf
File metadata and controls
24 lines (21 loc) · 669 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
WSGIPythonHome /apps/whyis/venv
<VirtualHost *>
#ServerName hbgd.tw.rpi.edu
WSGIDaemonProcess whyis user=whyis group=whyis threads=5 home=/apps/whyis
WSGIScriptAlias / /apps/whyis/wsgi.py
<Directory /apps/whyis>
WSGIProcessGroup whyis
WSGIApplicationGroup %{GLOBAL}
<IfVersion < 2.3 >
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</Directory>
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet