Changes between Version 19 and Version 20 of TracOnWindows/Advanced
- Timestamp:
- Feb 27, 2011, 6:29:54 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindows/Advanced
v19 v20 1 [[PageOutline(2-3)]]2 1 = Advanced options for Installing Trac on Windows = 2 3 [[PageOutline(2-4,Overview,inline)]] 3 4 4 5 == Optional Packages == … … 34 35 TracStandalone is not the only option on Windows. 35 36 36 === Apache and `mod_python` ===37 === Apache 37 38 38 `mod_python` is no longer developed. 39 Note that generic instructions for configuring authentication within Apache are available in the [[TracModWSGI#ConfiguringAuthentication]] page. 40 41 ==== Apache and `mod_wsgi` ==== 42 43 First, you need to integrate [http://code.google.com/p/modwsgi mod_wsgi] in your Apache installation. There are [http://code.google.com/p/modwsgi/wiki/DownloadTheSoftware#Windows_Binary_Downloads pre-compiled binaries] available for download. Choose the right one depending on the version of Apache and Python you're running. Then follow the [http://code.google.com/p/modwsgi/wiki/InstallationOnWindows installation instructions] for this module, and the [[TracModWSGI]] installations instructions. The resulting configuration (from the words of the `mod_wsgi` author) is supposed to be more efficient than one using `mod_python`. 44 45 ==== Apache and `mod_python` ==== 46 47 **Note: ** `mod_python` is no longer developed. 39 48 40 49 You may try to use its last version, 3.3.1: … … 49 58 Then, check the regular TracModPython instructions to see how you have to modify your http.conf. 50 59 51 === Apache and `mod_wsgi` === 52 53 First, you need to integrate [http://code.google.com/p/modwsgi mod_wsgi] in your Apache installation. There are [http://code.google.com/p/modwsgi/wiki/DownloadTheSoftware#Windows_Binary_Downloads pre-compiled binaries] available for download. Choose the right one depending on the version of Apache and Python you're running. Then follow the [http://code.google.com/p/modwsgi/wiki/InstallationOnWindows installation instructions] for this module, and the [[TracModWSGI]] installations instructions. The resulting configuration (from the words of the `mod_wsgi` author) is supposed to be more efficient than one using `mod_python`. 54 55 === Internet Information Services (IIS) === 56 57 It is also possible to install [wiki:"TracOnWindowsIis6" Trac with IIS 6], though your mileage may vary. 58 59 By following the above, Trac will be installed as a CGI, so that will be quite slow. You might be better off following TracOnWindowsIisAjp, which looks more promising. 60 61 == Authenticating Trac users against MS Windows domain controller == 60 ==== Authenticating Trac users against MS Windows domain controller ==== 62 61 63 62 Running Trac in Apache, you can let your users login with their existing Windows username/password by using `mod_sspi`. (If you use Subversion as a repository and access it through Apache, you can also do the same with Subversion). Download this module [http://sourceforge.net/projects/mod-auth-sspi here], place it in the Apache modules directory, and add the following line to your `httpd.conf`, with all the `LoadModule` instructions: … … 82 81 Then, if you change permissions in Trac using `trac-admin.exe`, remember to declare the user `bob` as `MyLocalDomain\bob` (The same remark applies for your Subversion repository accessfile). Alternatively add the parameter `SSPIOmitDomain On` and declare the user as `bob`. 83 82 83 === Internet Information Services (IIS) === 84 85 It is also possible to install [wiki:"TracOnWindowsIis6" Trac with IIS 6], though your mileage may vary. 86 87 By following the above, Trac will be installed as a CGI, so that will be quite slow. You might be better off following TracOnWindowsIisAjp, which looks more promising. 88 89 84 90 '''Note:''' If you are having problems with IE not being able to submit data to Trac (i.e. when you edit a wiki page or submit a ticket Trac doesn't modify the page or add the bug). wiki:Trac0.9/TracOnWindows has more information on this issue.