forked from joshvillbrandt/GoProController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapache.conf
41 lines (35 loc) · 1.07 KB
/
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
41
<VirtualHost *:80>
ServerName GoProController
DocumentRoot /home/GoProControllerUI/_public/
<Directory /home/GoProControllerUI/_public/>
<IfVersion < 2.3 >
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
</Directory>
WSGIScriptAlias /api /home/GoProController/GoProController/wsgi.py
<Directory /home/GoProController/GoProController>
<Files wsgi.py>
<IfVersion < 2.3 >
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
</Files>
</Directory>
Alias /static/ /home/GoProController/GoProController/static/
<Directory /home/GoProController/GoProController/static/>
<IfVersion < 2.3 >
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
</Directory>
</VirtualHost>