Edgewall Software

Changes between Version 85 and Version 86 of TracStandalone


Ignore:
Timestamp:
Sep 10, 2010, 11:38:50 PM (14 years ago)
Author:
Christian Boos
Comment:

#UsingAuthentication prune redundant and somewhat wrong information (fixes #9360)

Legend:

Unmodified
Added
Removed
Modified
  • TracStandalone

    v85 v86  
    8787== Using Authentication ==
    8888
    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 username
    95 }}}
    96 then for additional users:
    97 {{{
    98  $ htpasswd /path/to/env/.htpasswd username2
    99 }}}
    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/environmentname
    103 }}}
    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 
    10789Tracd 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.)
    10890
    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
     92The general format for using authentication is:
    11393{{{
    11494 $ tracd -p port --auth="base_project_dir,password_file_path,realm" project_path
     
    124104 * '''realm''': the realm name (can be anything)
    125105 * '''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
    126107
    127108Examples: