Changes between Version 141 and Version 142 of TracOnWindows
- Timestamp:
- Jan 19, 2006, 7:42:52 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindows
v141 v142 217 217 Alternatively, grab unofficial installers for ClearSilver 0.9.14 from http://clearsilver.yi.org/. 218 218 219 220 21. Install Trac 219 21. Install eGenix.com mx Extensions for Python 220 Download and install [http://www.egenix.com/files/python/eGenix-mx-Extensions.html].[[br]] 221 The 'initenv' command in trac-admin needs this library to create the Trac database (At least it did when using a PostgreSQL back end). 222 223 22. Install Trac 221 224 http://projects.edgewall.com/trac/wiki/TracDownload 222 225 {{{ … … 225 228 226 229 === Fix a few things === 227 2 2. Define how the CGI script is called228 229 2 2.1 Copy CGI230 23. Define how the CGI script is called 231 232 23.1 Copy CGI 230 233 {{{ 231 234 C:\> copy c:\python23\share\trac\cgi-bin\trac.cgi c:\progra~1\apache~1\apache2\cgi-bin … … 233 236 Use a text editor such as notepad to open trac.cgi and ensure the first line contains the correct path for Apache to find python. 234 237 235 2 2.2 Alternatively, define a global Python handler for `CGI` script238 23.2 Alternatively, define a global Python handler for `CGI` script 236 239 237 240 If you often update your Trac installation (following [source:/trunk trunk] development), and do not want to customize the `trac.cgi` file, you may want to define a global handler for `.cgi` scripts, using the `ScriptInterpreterSource` Apache [http://httpd.apache.org/docs/2.0/mod/core.html#scriptinterpretersource directive]. 238 241 239 2 2.2.1. Add the following line to your Apache configuration file:242 23.2.1. Add the following line to your Apache configuration file: 240 243 {{{ 241 244 <Directory "/Path/To/Trac/cgi-bin"> … … 243 246 </Directory> 244 247 }}} 245 2 2.2.2. Add the following key to your Windows registry248 23.2.2. Add the following key to your Windows registry 246 249 {{{ 247 250 [HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command]