Edgewall Software

Changes between Version 6 and Version 7 of TracOnWindowsIis6


Ignore:
Timestamp:
Nov 2, 2004, 4:39:56 AM (19 years ago)
Author:
GeoffCant
Comment:

Make the trac.py fix easier to read

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindowsIis6

    v6 v7  
    148148  F:\Python23\share\trac\cgi-bin\trac.py should be F:\Python23\share\trac\cgi-bin\wtrac.py or similar (trac.py breaks with a can't find core.py error)
    149149
    150 Fix the new wtrac.py to look like:
     150In wtrac.py add the line [import os;os.environ['TRAC_ENV'] = 'F:\\tracsvn\\trac.db'] to the first try block as shown here:
    151151{{{
    152152try:   
     
    155155    trac.core.cgi_start()
    156156}}}
     157You will still need the except block that follow the original
    157158
    158159The TRAC_ENV line is important as IIS6 won't pass this environment variable to the script when it runs.