Changes between Version 13 and Version 14 of AccountManagerPlugin/AuthStores


Ignore:
Timestamp:
Dec 14, 2011, 6:28:30 PM (12 years ago)
Author:
Dennis McRitchie <dmcr@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AccountManagerPlugin/AuthStores

    v13 v14  
    9191[account-manager]
    9292; configure the plugin to use a page that is secured with http authentication
    93 authentication_url = http://hostname/trac/path/authFile
     93authentication_url = http://hostname/trac/authFile
    9494password_store = HttpAuthStore
    9595}}}
     
    9797This will generally be matched with an Apache config like:
    9898{{{
    99 <Location /trac/path/authFile>
     99<Location /trac/authFile>
    100100   …HTTP authentication configuration…
    101101   Require valid-user
    102102</Directory>
    103103}}}
    104 
    105 Note that '''authFile''' must exist, and be a file (not directory) that can be acessed via the authentication_url value.
     104The above example assumes that you are hosting a single Trac project. If hosting multiple Trac projects, you might use something like this:
     105{{{
     106[account-manager]
     107; configure the plugin to use a page that is secured with http authentication
     108authentication_url = http://hostname/trac/project1/authFile
     109password_store = HttpAuthStore
     110}}}
     111
     112This could then be matched with an Apache config like:
     113{{{
     114<LocationMatch /trac/[^/]+/authFile>
     115   …HTTP authentication configuration…
     116   Require valid-user
     117</Directory>
     118}}}
     119Note that '''authFile''' must exist, and be a file (not directory) that can be accessed via ''authentication_url''.
    106120
    107121== !SessionStore ==