Changes between Version 85 and Version 86 of TracStandalone
- Timestamp:
- Sep 10, 2010, 11:38:50 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracStandalone
v85 v86 87 87 == Using Authentication == 88 88 89 Using tracd with Apache .htpasswd files:90 91 To create a .htpasswd file using htpasswd:92 93 {{{94 $ htpasswd -c /path/to/env/.htpasswd username95 }}}96 then for additional users:97 {{{98 $ htpasswd /path/to/env/.htpasswd username299 }}}100 then for starting the tracd (on windows skip the "=" after --basic-auth):101 {{{102 tracd -p 8080 --basic-auth=environmentname,/fullpath/environmentname/.htpasswd,/fullpath/environmentname /fullpath/environmentname103 }}}104 105 `environmentname` is the directory name of the Trac project folder, as opposed to `/fullpath/environmentname` which is the full path to the Trac project folder. See below for another example.106 107 89 Tracd provides support for both Basic and Digest authentication. The default is to use Digest; to use Basic authentication, replace `--auth` with `--basic-auth` in the examples below. (You must still specify a dialogic "realm", which can be an empty string by trailing the BASICAUTH with a comma.) 108 90 109 ''Support for Basic authentication was added in version 0.9.'' 110 111 The general format for using authentication is (replace `--auth` with `--basic-auth` if you want to use Basic auth): 112 91 92 The general format for using authentication is: 113 93 {{{ 114 94 $ tracd -p port --auth="base_project_dir,password_file_path,realm" project_path … … 124 104 * '''realm''': the realm name (can be anything) 125 105 * '''project_path''': path of the project 106 * **`--auth`** in the above means use Digest authentication, replace `--auth` with `--basic-auth` if you want to use Basic auth 126 107 127 108 Examples: