OLD | NEW |
1 <IfModule !prefork.c> | 1 <IfModule !prefork.c> |
2 # Django requires the prefork MPM, so just fail with this bogus directive | 2 # Django requires the prefork MPM, so just fail with this bogus directive |
3 # if it's not loaded. See | 3 # if it's not loaded. See |
4 # http://test.kernel.org/autotest/AutotestServerInstall for more info. | 4 # http://test.kernel.org/autotest/AutotestServerInstall for more info. |
5 ERROR__DJANGO_REQUIRES_THE_PREFORK_MPM | 5 ERROR__DJANGO_REQUIRES_THE_PREFORK_MPM |
6 </IfModule> | 6 </IfModule> |
7 | 7 |
8 Alias /media "/usr/local/autotest/site-packages/django/contrib/admin/media" | 8 Alias /media "/usr/local/autotest/site-packages/django/contrib/admin/media" |
9 | 9 |
10 <Location ~ "/(afe|new_tko|planner)/server"> | 10 <Location ~ "/(afe|new_tko|planner|croschart)/server"> |
11 SetHandler python-program | 11 SetHandler python-program |
12 PythonHandler django.core.handlers.modpython | 12 PythonHandler django.core.handlers.modpython |
13 SetEnv DJANGO_SETTINGS_MODULE frontend.settings | 13 SetEnv DJANGO_SETTINGS_MODULE frontend.settings |
14 PythonDebug On | 14 PythonDebug On |
15 # Force our own site-packages to be loaded by mod_python prior | 15 # Force our own site-packages to be loaded by mod_python prior |
16 # to mod_python's system python site-packages directory. | 16 # to mod_python's system python site-packages directory. |
17 # This way our code can depend on library versions other than | 17 # This way our code can depend on library versions other than |
18 # those available as packages on various OS distributions. | 18 # those available as packages on various OS distributions. |
19 PythonPath "['/usr/local/autotest/site-packages', '/usr/local/autotest'] + s
ys.path" | 19 PythonPath "['/usr/local/autotest/site-packages', '/usr/local/autotest'] + s
ys.path" |
20 </Location> | 20 </Location> |
OLD | NEW |