Changes between Version 2 and Version 3 of TracStandalone


Ignore:
Timestamp:
2019-05-02T09:45:05-03:00 (6 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracStandalone

    v2 v3  
    9595Tracd allows you to run Trac without the need for Apache, but you can take advantage of Apache's password tools (`htpasswd` and `htdigest`) to easily create a password file in the proper format for tracd to use in authentication. (It is also possible to create the password file without `htpasswd` or `htdigest`; see below for alternatives)
    9696
    97 {{{#!div style="border: 1pt dotted; margin: 1em"
    98 **Attention:** Make sure you place the generated password files on a filesystem which supports sub-second timestamps, as Trac will monitor their modified time and changes happening on a filesystem with too coarse-grained timestamp resolution (like `ext2` or `ext3` on Linux, or HFS+ on OSX).
    99 }}}
     97Make sure you place the generated password files on a filesystem which supports sub-second timestamps, as Trac will monitor their modified time and changes happening on a filesystem with too coarse-grained timestamp resolution (like `ext2` or `ext3` on Linux, or HFS+ on OSX).
    10098
    10199Tracd provides support for both Basic and Digest authentication. Digest is considered more secure. The examples below use Digest; to use Basic authentication, replace `--auth` with `--basic-auth` in the command line.
     
    141139This section describes how to use `tracd` with Apache .htpasswd files.
    142140
    143   Note: On Windows It is necessary to install the [https://pypi.python.org/pypi/passlib passlib]
    144   package in order to decode some htpasswd formats. Only `SHA-1` passwords (since Trac 1.0)
    145   work without this module.
     141  Note: It is necessary (at least with Python 2.6) to install the fcrypt package in order to
     142  decode some htpasswd formats.  Trac source code attempt an `import crypt` first, but there
     143  is no such package for Python 2.6. Only `SHA-1` passwords (since Trac 1.0) work without this module.
    146144
    147145To create a .htpasswd file use Apache's `htpasswd` command (see [#GeneratingPasswordsWithoutApache below] for a method to create these files without using Apache):
     
    305303Run tracd:
    306304{{{#!sh
    307 tracd -p 8101 -s proxified --base-path=/project/proxified
     305tracd -p 8101 -r -s proxified --base-path=/project/proxified
    308306}}}
    309307