Changes between Version 2 and Version 3 of TracStandalone
- Timestamp:
- 2019-05-02T09:45:05-03:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracStandalone
v2 v3 95 95 Tracd 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) 96 96 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 }}} 97 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). 100 98 101 99 Tracd 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. … … 141 139 This section describes how to use `tracd` with Apache .htpasswd files. 142 140 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. 146 144 147 145 To create a .htpasswd file use Apache's `htpasswd` command (see [#GeneratingPasswordsWithoutApache below] for a method to create these files without using Apache): … … 305 303 Run tracd: 306 304 {{{#!sh 307 tracd -p 8101 - s proxified --base-path=/project/proxified305 tracd -p 8101 -r -s proxified --base-path=/project/proxified 308 306 }}} 309 307