Changes between Version 98 and Version 99 of TracStandalone
- Timestamp:
- Jul 16, 2012, 10:21:04 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracStandalone
v98 v99 1 ** Note: this page documents the 0.12 version of Trac, see [[0.11/TracStandalone]] if you need the previous version **1 ** Note: this page documents the 1.0 version of Trac, see [[0.12/TracStandalone]] if you need the previous version ** 2 2 = Tracd = 3 3 … … 138 138 139 139 Note: It is necessary (at least with Python 2.6) to install the fcrypt package in order to 140 decode the htpasswd format. Trac source code attempt an `import crypt` first, but there141 is no such package for Python 2.6. 140 decode some htpasswd formats. Trac source code attempt an `import crypt` first, but there 141 is no such package for Python 2.6. Only `SHA-1` passwords (since Trac 0.13) work without this module. 142 142 143 143 To create a .htpasswd file use Apache's `htpasswd` command (see [#GeneratingPasswordsWithoutApache below] for a method to create these files without using Apache): … … 169 169 === Generating Passwords Without Apache === 170 170 171 Basic Authorization can be accomplished via this [http://aspirine.org/htpasswd_en.html online HTTP Password generator] . Copy the generated password-hash line to the .htpasswd file on your system. Note that Windows Python lacks the "crypt" module that is the default hash type for htpasswd ; Windows Python can grok MD5 password hashes just fine and you should use MD5.171 Basic Authorization can be accomplished via this [http://aspirine.org/htpasswd_en.html online HTTP Password generator] which also supports `SHA-1`. Copy the generated password-hash line to the .htpasswd file on your system. Note that Windows Python lacks the "crypt" module that is the default hash type for htpasswd ; Windows Python can grok MD5 password hashes just fine and you should use MD5. 172 172 173 173 You can use this simple Python script to generate a '''digest''' password file: