Changes between Version 13 and Version 14 of AccountManagerPlugin/AuthStores
- Timestamp:
- Dec 14, 2011, 6:28:30 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AccountManagerPlugin/AuthStores
v13 v14 91 91 [account-manager] 92 92 ; configure the plugin to use a page that is secured with http authentication 93 authentication_url = http://hostname/trac/ path/authFile93 authentication_url = http://hostname/trac/authFile 94 94 password_store = HttpAuthStore 95 95 }}} … … 97 97 This will generally be matched with an Apache config like: 98 98 {{{ 99 <Location /trac/ path/authFile>99 <Location /trac/authFile> 100 100 …HTTP authentication configuration… 101 101 Require valid-user 102 102 </Directory> 103 103 }}} 104 105 Note that '''authFile''' must exist, and be a file (not directory) that can be acessed via the authentication_url value. 104 The 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 108 authentication_url = http://hostname/trac/project1/authFile 109 password_store = HttpAuthStore 110 }}} 111 112 This 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 }}} 119 Note that '''authFile''' must exist, and be a file (not directory) that can be accessed via ''authentication_url''. 106 120 107 121 == !SessionStore ==