-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjade.conf
31 lines (27 loc) · 915 Bytes
/
jade.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
# This is a sample apache2.conf file to be copied to /etc/apache2/sites-enabled
# be sure to install libapache2-mod-python (sudo apt-get install libapache2-mod-python)
NameVirtualHost *
<VirtualHost *>
ServerName jade
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE jade.home
PythonInterpreter home
PythonOption django.root /home
PythonDebug On
PythonPath "['/srv/', '/srv/jade/'] + sys.path"
</VirtualHost>
# <VirtualHost *>
# ServerName branch
# SetHandler python-program
# PythonHandler django.core.handlers.modpython
# PythonInterpreter branch
# SetEnv DJANGO_SETTINGS_MODULE jade.branch
# PythonOption django.root /branch
# PythonDebug On
# PythonPath "['/srv/', '/srv/jade/'] + sys.path"
# </VirtualHost>
Alias /media/ /srv/jade/media/
<Location "/media">
SetHandler None
</Location>