Changes between Version 1 and Version 2 of TracOnWindowsIisAjp
- Timestamp:
- Oct 27, 2008, 11:52:52 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindowsIisAjp
v1 v2 27 27 * Since port 80 will be occupied by IIS, choose a different port, including "`-p 8009`" to the tracd start command. 28 28 29 Of course, 8009 is an example and you are free to use any other port as well.[[BR]] 29 Of course, 8009 is an example and you are free to use any other port as well. 30 30 31 At this point you should check whether Trac is running properly. 31 32 32 33 * Use "`--protocol=ajp`" to make tracd use AJP instead of HTTP. 33 34 34 Now you will get an error message indicating that module flup.server.ajp is missing. (If you don't, flup is already installed and you may skip th following step.)35 Now you will get an error message indicating that module flup.server.ajp is missing. (If you don't, flup is already installed and you may skip the following step.) 35 36 36 37 == 2. Install [http://trac.saddi.com/flup flup] == … … 45 46 * Set up the directory structure. 46 47 47 We assume there will be a base directory named C:\AJP-Connector and three subdirectories bin, conf and logs. Of course, you may choo e anything else for the base directory.48 We assume there will be a base directory named C:\AJP-Connector and three subdirectories bin, conf and logs. Of course, you may choose anything else for the base directory. 48 49 49 50 * Copy [http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.26/isapi_redirect-1.2.26.dll isapi_redirect-1.2.26.dll] to the bin subdirectory. … … 92 93 93 94 * Define the virtual directory for IIS 94 * Start the IIS Manager. (This is normally found at %!SystemRoot%\system32\inetsrv\iis.msc). 95 * Define a virtual directory named "AJP-Connector", pointing to your bin subdirectory, with permissions to execute executables (not only scripts). 95 96 Start the IIS Manager. (This is normally found at %SystemRoot%\system32\inetsrv\iis.msc).[[BR]] 97 Define a virtual directory named AJP-Connector, pointing to your bin subdirectory, with permissions to execute executables (not only scripts). 98 96 99 * Allow execution of the DLL as Web Service Extension 97 * In the IIS Manager, open Web Service Extensions. 98 * Define a new Web Service Extension called AJP-Connector (or whatever you want). 99 * Add C:\AJP-Connector\bin\isapi_redirect-1.2.26.dll to the required files (replace "C:\AJP-Connector" with your actual directory). 100 * Set extension status to Allowed. 101 * Click OK.100 101 In the IIS Manager, open Web Service Extensions.[[BR]] 102 Define a new Web Service Extension called AJP-Connector (or whatever you want).[[BR]] 103 Add C:\AJP-Connector\bin\isapi_redirect-1.2.26.dll to the required files (replace "C:\AJP-Connector" with your actual directory).[[BR]] 104 Set extension status to Allowed. 102 105 103 106 == 4. Enjoy == 104 That's everything I did and it works. 107 That's everything I did and it works. (Perhaps you will have to restart IIS.)