170 | | {{{#!div style="background:#efe" |
171 | | Testing on or confirmation for *nix required in below paragraph. |
172 | | |
173 | | The -m option referred to from httpasswd is ... |
174 | | -m Use Apache's modified MD5 algorithm for passwords. |
175 | | Passwords encrypted with this algorithm are transport- |
176 | | able to any platform (Windows, Unix, BeOS, et cetera) |
177 | | running Apache 1.3.9 or later. On Windows and TPF, |
178 | | this flag is the default. |
179 | | }}} |
180 | | |
181 | | Note: If you would like to use --basic-auth you need to use htpasswd tool from apache server to generate .htpasswd file. The remaining part is similar but make sure to use empty realm (i.e. coma after path). When using on Windows make sure to use -m option for it (did not tested it on *nix, so not sure if that is the case there). If you do not have Apache, [trac:source:/tags/trac-0.11b2/contrib/htpasswd.py htpasswd.py] may help. (Note that it requires a `crypt` or `fcrypt` module; see the source comments for details.) |
| 170 | |
| 171 | Note: If you would like to use --basic-auth you need to use htpasswd tool from apache server to generate .htpasswd file. The remaining part is similar but make sure to use empty realm (i.e. coma after path). Make sure to use -m option for it. If you do not have Apache, [trac:source:/tags/trac-0.11/contrib/htpasswd.py htpasswd.py] may help. (Note that it requires a `crypt` or `fcrypt` module; see the source comments for details.) |