Changes between Version 3 and Version 4 of HttpAuthPlugin


Ignore:
Timestamp:
Nov 25, 2009, 11:12:15 PM (14 years ago)
Author:
Viktor Ferenczi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HttpAuthPlugin

    v3 v4  
    4444}}}
    4545
     46== Troubleshooting ==
     47
     48=== Authentication issues while using Trac with mod_wsgi ===
     49
     50==== Symptom ====
     51
     52HTTP authentication just does not want to work. The Authorization header is passed with the HTTP request, but is seems to be lost on the way.
     53
     54If you set the `loglevel` to `INFO`, then you will get this entry in your `trac.log`:
     55
     56{{{
     57Trac[filter] INFO: HTTPAuthFilter: No/bad authentication data given, returing 403
     58}}}
     59
     60It is already in Ticket #1169. I've quoted it here, since the solution is hard to find otherwise.
     61
     62==== Cause ====
     63
     64If you're using `mod_wsgi`, authorization information is stripped before passing to the WSGI application.
     65
     66=== Solution ===
     67
     68Turn `WSGIPassAuthorization On` in your `Apache` configuration for it to work.
     69
     70See also [http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives ConfigurationDirectives]
     71
    4672== Recent Changes ==
    4773