-
Notifications
You must be signed in to change notification settings - Fork 36
/
specifyweb_apache.conf
40 lines (31 loc) · 1.53 KB
/
specifyweb_apache.conf
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
35
36
37
38
39
40
<VirtualHost *:80>
# Grant access to the Specify directories.
<Directory /home/specify/specify_depository>
Require all granted
</Directory>
<Directory /opt/Specify/config>
Require all granted
</Directory>
<Directory /opt/specify7>
Require all granted
</Directory>
# Alias the following to the location set in specifyweb/settings/local_specify_settings.py
Alias /static/depository /home/specify/specify_depository
# Alias the following to the Specify6 installation + /config
Alias /static/config /opt/Specify/config
# Alias the following to the Specify7 installation + /specifyweb/frontend/static
Alias /static /opt/specify7/specifyweb/frontend/static
# Set the user and group you want the Specify 7 python process to run as.
# The python-home points to the location of the python libraries in the
# virtualenv you established. If not using a virtualenv, leave off the
# python-home parameter.
WSGIDaemonProcess $servername user=specify group=specify python-home=/opt/specify7/ve
WSGIProcessGroup $servername
# Alias the following to the Specify7 installation + /specifyweb.wsgi
WSGIScriptAlias / /opt/specify7/specifyweb.wsgi
ErrorLog /var/log/apache2/error.log
# # Possible values include: debug, info, notice, warn, error, crit,
# # alert, emerg.
# LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>