[#8128] comments

Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/a3dfd28a
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/a3dfd28a
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/a3dfd28a

Branch: refs/heads/db/8128
Commit: a3dfd28a02367f5924f35cdaa6d066ace8727f06
Parents: 73cf309
Author: Dave Brondsema <d...@brondsema.net>
Authored: Tue Sep 20 11:58:16 2016 -0400
Committer: Dave Brondsema <d...@brondsema.net>
Committed: Tue Sep 20 14:52:10 2016 -0400

----------------------------------------------------------------------
 scm_config/git-http/git-http.conf | 2 +-
 scripts/ApacheAccessHandler.py    | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/a3dfd28a/scm_config/git-http/git-http.conf
----------------------------------------------------------------------
diff --git a/scm_config/git-http/git-http.conf 
b/scm_config/git-http/git-http.conf
index 40cbfef..f6f059e 100644
--- a/scm_config/git-http/git-http.conf
+++ b/scm_config/git-http/git-http.conf
@@ -45,7 +45,7 @@ ErrorLog /dev/stderr
         AuthBasicAuthoritative off
         PythonOption ALLURA_PERM_URL http://web:8080/auth/repo_permissions
         PythonOption ALLURA_AUTH_URL http://web:8080/auth/do_login
-        # for 'requests' lib only
+        # for 'requests' lib only, doesn't have to be full allura venv
         PythonOption ALLURA_VIRTUALENV /allura-data/virtualenv
     </Location>
 

http://git-wip-us.apache.org/repos/asf/allura/blob/a3dfd28a/scripts/ApacheAccessHandler.py
----------------------------------------------------------------------
diff --git a/scripts/ApacheAccessHandler.py b/scripts/ApacheAccessHandler.py
index 89654c5..b8fc2fe 100644
--- a/scripts/ApacheAccessHandler.py
+++ b/scripts/ApacheAccessHandler.py
@@ -41,9 +41,13 @@ Here is a quick example for your apache settings (assuming 
ProxyPass)
         AuthBasicAuthoritative off
         PythonOption ALLURA_PERM_URL https://127.0.0.1/auth/repo_permissions
         PythonOption ALLURA_AUTH_URL https://127.0.0.1/auth/do_login
+        # for 'requests' lib only, doesn't have to be full allura venv
         PythonOption ALLURA_VIRTUALENV /var/local/env-allura
     </Location>
 
+
+This could also use the Allura code and authorize directly, but it's useful to 
be able to run
+this authorization code without Allura set up and configured on the git host.
 """
 
 

Reply via email to