-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-httpd-vhosts.conf
More file actions
26 lines (24 loc) · 877 Bytes
/
Copy pathexample-httpd-vhosts.conf
File metadata and controls
26 lines (24 loc) · 877 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
# Example entry for Apache virtual host configuration
<VirtualHost *:80>
WSGIScriptAlias / /path/to/identipy_server/identipy_server/wsgi.py
WSGIDaemonProcess identipy python-path=/path/to/identipy_server:/path/to/identipy user=john group=john threads=5
WSGIProcessGroup identipy
WSGIApplicationGroup %{GLOBAL}
# LogLevel debug
ServerAdmin you@example.com
ServerName identipy.example.com
Alias /static/ /path/to/static/
Alias /results/ /path/to/identipy_server/results/
<Directory "/path/to/identipy_server/identipy_server/">
Order deny,allow
Require all granted
</Directory>
<Directory "/path/to/static/">
Order deny,allow
Require all granted
</Directory>
<Directory "/path/to/identipy_server/results/">
Order deny,allow
Require all granted
</Directory>
</VirtualHost>