Edgewall Software

Changes between Version 4 and Version 5 of TracStandalone


Ignore:
Timestamp:
Jun 29, 2005, 1:57:32 PM (19 years ago)
Author:
Christian Boos
Comment:

Added htdigest authentication sample for multiple project and notes for tracd on Windows

Legend:

Unmodified
Added
Removed
Modified
  • TracStandalone

    v4 v5  
    2929{{{
    3030 $ tracd -p 8080 --auth project1,/tmp/users.htdigest,mycompany.com /path/to/project1
     31}}}
     32htdigest authentication can also be used for more than one project.
     33The digest file can be shared:
     34{{{
     35 $ tracd -p 8080 \
     36   --auth project1,/tmp/users.htdigest,mycompany.com \
     37   --auth project2,/tmp/users.htdigest,mycompany.com \
     38   /path/to/project1 /path/to/project2
     39}}}
    3140
     41== Tracd on Windows ==
     42
     43tracd also works on Windows. But on that platform,
     44the sensitivity on multithread issues is high.
     45tracd is not (yet!) very robust in multithread mode,
     46see for example #1401 and #1721 for some of the issues...
     47
     48I recently found out that all the occasional problems
     49(i.e. crashes) I had can be avoided by telling tracd
     50to operate in single-threaded mode:
     51{{{
     52#!text/x-diff
     53Index: trac/web/standalone.py
     54===================================================================
     55--- trac/web/standalone.py      (revision 1862)
     56+++ trac/web/standalone.py      (working copy)
     57@@ -124,7 +124,7 @@
     58         return auth['username']
     59
     60
     61-class TracHTTPServer(ThreadingMixIn, HTTPServer):
     62+class TracHTTPServer(HTTPServer):
     63
     64     projects = None
    3265}}}
    3366
    3467
     68
    3569----
    36 See also: TracGuide, TracInstall, TracModPython
     70See also: [source:trunk/README.tracd#latest README.tracd], TracGuide, TracInstall, TracModPython