Edgewall Software

Changes between Version 41 and Version 42 of TracModWSGI


Ignore:
Timestamp:
Dec 14, 2011, 10:15:29 PM (12 years ago)
Author:
Dennis McRitchie <dmcr@…>
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v41 v42  
    304304   …HTTP authentication configuration…
    305305   Require valid-user
    306 </Directory>
     306</Location>
    307307}}}
    308308Note that '''authFile''' must exist, and be a file (not directory) that can be accessed via ''authentication_url''. With Trac running under WSGI, making this happen is not obvious. There are 4 ways you can do this:
     
    311311{{{
    312312   authentication_url = http://hostname/trac/chrome/site/authFile
     313}}}
     314and ''Location'' to:
     315{{{
     316<Location /trac/chrome/site/authFile>
    313317}}}
    314318   This has the advantage that your Trac project need not be under Apache's !DocumentRoot, thereby making it more secure.