Changes between Version 1 and Version 2 of 0.13/TracStandalone
- Timestamp:
- Mar 2, 2012, 10:29:11 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
0.13/TracStandalone
v1 v2 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://www.4webhelp.net/us/password.php online HTTP Password generator] .Copy the generated password-hash line to the .htpasswd file on your system.171 Basic Authorization can be accomplished via this [http://www.4webhelp.net/us/password.php online HTTP Password generator], or [http://aspirine.org/htpasswd_en.html this alternative] which supports `SHA-1`. Copy the generated password-hash line to the .htpasswd file on your system. 172 172 173 173 You can use this simple Python script to generate a '''digest''' password file: