-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcugos.conf
52 lines (45 loc) · 1.61 KB
/
cugos.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
42
43
44
45
46
47
48
49
50
51
52
<VirtualHost *:80>
ServerName cugos.openbasemap.org
ServerAlias cugos.openbasemap.org
LogLevel info
ErrorLog /mnt/z-raid6/projects/cugos_org/logging/error.log
CustomLog /mnt/z-raid6/projects/cugos_org/logging/access.log combined
#DocumentRoot /mnt/z-raid6/projects/cugos_org
#<Directory /mnt/z-raid6/projects/cugos_org/>
# Options Indexes FollowSymLinks MultiViews
# AllowOverride All
# Order allow,deny
# allow from all
#</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
# Main Django App
WSGIScriptAlias / /mnt/z-raid6/projects/cugos_org/cugos.wsgi
WSGIDaemonProcess main-cugos_org-app user=gcorradini group=users processes=4 threads=1
WSGIProcessGroup main-cugos_org-app
# OLD MOD PYTHON SETTINGS
# DocumentRoot /mnt/z-raid6/projects/cugos_org
# <location "/">
# SetHandler python-program
# PythonHandler django.core.handlers.modpython
# #PythonPath "['/var/www/django/','/var/www/django/urbansim/'] + sys.path"
# PythonPath "['/mnt/z-raid6/projects/','/mnt/z-raid6/projects/cugos_org/'] + sys.path"
# SetEnv DJANGO_SETTINGS_MODULE cugos_org.settings
# PythonOption django.root /django/cugos
# PythonDebug On
# </location>
# <location "/media">
# SetHandler None
# </location>
# <location "/admin_media">
# SetHandler None
# </location>
# <locationmatch "\.(jpg|gif|png)$">
# SetHandler None
# </locationmatch>
</VirtualHost>