On Sat, Mar 16, 2013 at 9:02 PM, Julius Gawlas <[email protected]> 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.

I was taking a look at
https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives, this
looks good, applied, 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>
>
>  #
> --
> 1.7.7.6
>
> _______________________________________________
> Autotest-kernel mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/autotest-kernel



-- 
Lucas

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

Reply via email to