Edgewall Software

Changes between Version 78 and Version 79 of TracModWSGI


Ignore:
Timestamp:
May 9, 2016, 11:35:00 PM (8 years ago)
Author:
Ryan J Ollos
Comment:

Remove configuration with AccountManagerPlugin that is duplicated at AccountManagerPlugin/AuthStores#HttpAuthStore.

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v78 v79  
    315315Note:  you do not need any Apache "Location" directives.
    316316
    317 === Using Apache authentication with the Account Manager plugin's Login form ===
    318 
    319 To begin with, see the basic instructions for using the Account Manager plugin's [http://trac-hacks.org/wiki/AccountManagerPlugin/Modules#LoginModule Login module] and its [http://trac-hacks.org/wiki/AccountManagerPlugin/AuthStores#HttpAuthStore HttpAuthStore authentication module].
    320 
    321 '''Note:''' If is difficult to get !HttpAuthStore to work with WSGI when using any Account Manager version prior to acct_mgr-0.4. Upgrading is recommended.
    322 
    323 Here is an example (from the !HttpAuthStore link) using acct_mgr-0.4 for hosting a single project:
    324 {{{#!ini
    325 [components]
    326 ; be sure to enable the component
    327 acct_mgr.http.HttpAuthStore = enabled
    328 
    329 [account-manager]
    330 ; configure the plugin to use a page that is secured with http authentication
    331 authentication_url = /authFile
    332 password_store = HttpAuthStore
    333 }}}
    334 This will generally be matched with an Apache config like:
    335 {{{#!apache
    336 <Location /authFile>
    337    # HTTP authentication configuration
    338    Require valid-user
    339 </Location>
    340 }}}
    341 Note that '''authFile''' need not exist (unless you are using Account Manager older than 0.4). See the !HttpAuthStore link above for examples where multiple Trac projects are hosted on a server.
    342 
    343317=== Example: Apache/mod_wsgi with Basic Authentication, Trac being at the root of a virtual host
    344318