Edgewall Software

Changes between Version 27 and Version 28 of TracStandalone


Ignore:
Timestamp:
Aug 28, 2006, 5:38:34 PM (18 years ago)
Author:
Christopher Lenz
Comment:

Minor cleanup

Legend:

Unmodified
Added
Removed
Modified
  • TracStandalone

    v27 v28  
    66
    77 * Fewer dependencies: You don't need to install apache or any other web-server.
    8  * Fast: Should be as fast as the [wiki:TracModPython mod_python] version (and much faster than the [wiki:TracCgi CGI]).
     8 * Fast: Should be almost as fast as the [wiki:TracModPython mod_python] version (and much faster than the [wiki:TracCgi CGI]).
     9 * Automatic reloading: For development, Tracd can be used in ''auto_reload'' mode, which will automatically restart the server whenever you make a change to the code (in Trac itself or in a plugin).
    910
    1011== Cons ==
    1112
    12  * Fewer features: Tracd implements a very simple web-server and is not as configurable as Apache HTTPD.
     13 * Fewer features: Tracd implements a very simple web-server and is not as configurable or as scalable as Apache HTTPD.
    1314 * No native HTTPS support: [http://www.rickk.com/sslwrap/ sslwrap] can be used instead,
    14    or [wiki:STunnelTracd stunnel -- a tutorial on how to use stunnel with tracd] or Apache with mod_proxy.
     15   or [http://trac.edgewall.org/wiki/STunnelTracd stunnel -- a tutorial on how to use stunnel with tracd] or Apache with mod_proxy.
    1516
    1617== Usage examples ==
     
    2526}}}
    2627
    27 You can't have the last portion of the path identical between the projects since that's how trac keeps the URLs of the
    28 different projects unique. So if you use /project1/path/to and /project2/path/to, you will only see the second project.
     28You can't have the last portion of the path identical between the projects since Trac uses that name to keep the URLs of the
     29different projects unique. So if you use `/project1/path/to` and `/project2/path/to`, you will only see the second project.
    2930
    30 An alternative way to serve multiple projects is to specify
    31 a parent directory in which each subdirectory is a Trac project, using the `-e` option. The example above could be rewritten:
     31An alternative way to serve multiple projects is to specify a parent directory in which each subdirectory is a Trac project, using the `-e` option. The example above could be rewritten:
    3232{{{
    3333 $ tracd -p 8080 -e /path/to
     
    3838Tracd provides support for both Basic and Digest authentication. The default is to use Digest; to use Basic authentication, replace `--auth` with `--basic-auth` in the examples below, and omit the realm.
    3939
    40   ''Basic authentication is only supported since [milestone:0.9] (the final release).''
     40  ''Support for Basic authentication was added in version 0.9.''
    4141
    42 If the file `/path/to/users.htdigest` contain user accounts for project1 with the realm "mycompany.com", you'd use the following command-line to start tracd:
     42If the file `/path/to/users.htdigest` contains user accounts for project1 with the realm "mycompany.com", you'd use the following command-line to start tracd:
    4343{{{
    4444 $ tracd -p 8080 --auth project1,/path/to/users.htdigest,mycompany.com /path/to/project1
    4545}}}
    46 ''Note that the project “name” passed to the `--auth` option is '''actually the base name of the project environment directory.'''
    47 ''
     46
     47'''Note''': the project "name" passed to the `--auth` option is the base name of the project environment directory.
    4848
    4949Of course, the digest file can be be shared so that it is used for more than one project:
     
    6363}}}
    6464
    65   ''This will be supported in 0.9.1 (since r2524).''
    66 
    6765== How to set up an htdigest password file ==
    6866
    69 If you have Apache available, you can use the htdigest command to generate the password file. Type 'htdigest' to get some usage instructions, or read [http://httpd.apache.org/docs/2.0/programs/htdigest.html this page] from the Apache manual to get precise instructions.  You'll be prompted for a password to enter for each user that you create.  For the name of the password file, you can use whatever you like, but if you use something like 'users.htdigest' it will remind you what the file contains.  As a suggestion, put it in your <projectname>/conf folder along with the trac.ini file.
     67If you have Apache available, you can use the htdigest command to generate the password file. Type 'htdigest' to get some usage instructions, or read [http://httpd.apache.org/docs/2.0/programs/htdigest.html this page] from the Apache manual to get precise instructions.  You'll be prompted for a password to enter for each user that you create.  For the name of the password file, you can use whatever you like, but if you use something like `users.htdigest` it will remind you what the file contains. As a suggestion, put it in your <projectname>/conf folder along with the [TracIni trac.ini] file.
    7068
    71 The 'realm' parameter for the --auth argument, you can just enter 'TracRealm' if you don't have or want to use a company name.
    72 
    73 Note that you can start tracd without the --auth argument, but if you click on the 'Login' link you will get no response (and the server will print out an error message).
     69Note that you can start tracd without the --auth argument, but if you click on the ''Login'' link you will get an error.
    7470
    7571== Generating Passwords Without Apache ==