Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: apache/conf/dash-directives

Issue 6730036: Add a new apache/django handler into autotest server. (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apache/conf/all-directives ('k') | dashboard/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apache/conf/dash-directives
diff --git a/apache/conf/dash-directives b/apache/conf/dash-directives
new file mode 100644
index 0000000000000000000000000000000000000000..822c5f9b271d687111b66eab180fe2085922d8c7
--- /dev/null
+++ b/apache/conf/dash-directives
@@ -0,0 +1,13 @@
+Alias /dashboard "/usr/local/autotest/dashboard"
+
+<Location "/dashboard">
+ SetHandler python-program
+ PythonHandler django.core.handlers.modpython
+ SetEnv DJANGO_SETTINGS_MODULE dashboard.settings
+ PythonDebug On
+ # Force our own site-packages to be loaded by mod_python prior
+ # to mod_python's system python site-packages directory.
+ # This way our code can depend on library versions other than
+ # those available as packages on various OS distributions.
+ PythonPath "['/usr/local/autotest/site-packages', '/usr/local/autotest'] + sys.path"
+</Location>
« no previous file with comments | « apache/conf/all-directives ('k') | dashboard/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698