Project

General

Profile

Revision 4f9d6461

ID4f9d6461e34ff43f3181e0d17c6717303019d3f3
Parent 8cb5da40
Child 20fd4838

Added by Thomas ANDREJAK almost 15 years ago

Correction du base_url

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@299 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

apache/vigiboard.wsgi
8 8
#Debian: chown -R www-data:www-data /usr/local/turbogears/vigiboard
9 9

  
10 10
import sys
11

  
11
sys.stdout = sys.stderr
12 12
#3. start of virtualenv (enabled by default).
13 13
#Please comment out until 4 if you don't use virtualenv. 
14 14
#Make sure root owns the virtualenv folder. Example:(root:root)
......
19 19
prev_sys_path = list(sys.path)
20 20

  
21 21
import site 
22
site.addsitedir('/usr/local/pythonenv/BASELINE/lib/python2.5/site-packages')
22
site.addsitedir('/usr/lib/python2.5/site-packages')
23 23

  
24 24
#Move just added item to the front of the python system path. 
25 25
#Not needed if modwsgi>=3.0. Uncomment next 6 lines.
......
49 49

  
50 50

  
51 51
#8.[Optional] If you want to test modwsgi only, uncomment section 3 in you /usr/local/turbogears/vigiboard/apache/vigiboard
52
import paste.fixture
53
app = paste.fixture.TestApp(application)
54
app.get("/")

Also available in: Unified diff