Changes between Version 6 and Version 7 of TracOnWindowsIis6
- Timestamp:
- Nov 2, 2004, 4:39:56 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindowsIis6
v6 v7 148 148 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) 149 149 150 Fix the new wtrac.py to look like:150 In wtrac.py add the line [import os;os.environ['TRAC_ENV'] = 'F:\\tracsvn\\trac.db'] to the first try block as shown here: 151 151 {{{ 152 152 try: … … 155 155 trac.core.cgi_start() 156 156 }}} 157 You will still need the except block that follow the original 157 158 158 159 The TRAC_ENV line is important as IIS6 won't pass this environment variable to the script when it runs.