On 03/16/2013 09:02 PM, Julius Gawlas wrote:
Added diective to pass authorization token in wsgi
apache config, without that rpc (including CLI)
was broked and it was not sending the user name
properly since without that HTTP_AUTHORIZATION was
being striped. Also renamed wsgi process group
to be autotest specific to make it easier to
coexist with other apps on the same server.

All right, I took a look at the WSGI config docs and this looks OK. Applied to next, thanks!

Signed-off-by: Julius Gawlas <[email protected]>
---
  apache/conf/django-directives |    5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/apache/conf/django-directives b/apache/conf/django-directives
index 041789a..71b12a9 100644
--- a/apache/conf/django-directives
+++ b/apache/conf/django-directives
@@ -111,8 +111,9 @@ RewriteRule 
/afe/server/admin/afe/(aclgroup|atomicgroup|host|label|profiler|test
      </LocationMatch>

      WSGISocketPrefix run/wsgi
-    WSGIDaemonProcess apache processes=10 threads=1
-    WSGIProcessGroup apache
+    WSGIDaemonProcess autotestapache processes=10 threads=1
+    WSGIProcessGroup autotestapache
+    WSGIPassAuthorization On
  </IfModule>

  #


_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to