Edgewall Software

Changes between Version 19 and Version 20 of TracOnWindows/Advanced


Ignore:
Timestamp:
Feb 27, 2011, 6:29:54 PM (13 years ago)
Author:
Christian Boos
Comment:

move the mod_wsgi section up, restructure the page

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindows/Advanced

    v19 v20  
    1 [[PageOutline(2-3)]]
    21= Advanced options for Installing Trac on Windows =
     2
     3[[PageOutline(2-4,Overview,inline)]]
    34
    45== Optional Packages ==
     
    3435TracStandalone is not the only option on Windows.
    3536
    36 === Apache and `mod_python` ===
     37=== Apache
    3738
    38 `mod_python` is no longer developed.
     39Note that generic instructions for configuring authentication within Apache are available in the [[TracModWSGI#ConfiguringAuthentication]] page.
     40
     41==== Apache and `mod_wsgi` ====
     42
     43First, 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.
    3948
    4049You may try to use its last version, 3.3.1:
     
    4958Then, check the regular TracModPython instructions to see how you have to modify your http.conf.
    5059
    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 ====
    6261
    6362Running 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:
     
    8281Then, 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`.
    8382
     83=== Internet Information Services (IIS) ===
     84
     85It is also possible to install [wiki:"TracOnWindowsIis6" Trac with IIS 6], though your mileage may vary.
     86
     87By 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
    8490'''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.