Changes between Version 37 and Version 38 of ConfigureGuide22Windows
- Timestamp:
- 09/01/10 15:56:03 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ConfigureGuide22Windows
v37 v38 88 88 === IIS 7.x === 89 89 90 1. Install IIS 7.x to Windows 7 or Windows 2008 Server 90 ==== Install IIS 7.x to Windows 7 or Windows 2008 Server ==== 91 91 92 92 By default, IIS 7 is not turned on under either Windows 7 or Windows 2008 Server. … … 96 96 Under Windows 2008 Server, go to Control Panel->Administrative Tools->Server Manager, in the left panel, select Role, in the right panel, click Add Roles->Server Roles->Web Server(IIS), click OK to add the selected Role, then in the left panel, select Feature, in the right panel, click Add Features, a window with available windows features should open. Find Web Server (IIS) Tools and check it, click OK to install this feature. 97 97 98 2. Create registry key '''!IniFilePath'''. 98 ==== Create registry key '''!IniFilePath'''. ==== 99 99 100 100 suppose PHP is installed under c:\php and with all mapguide related extensions copied to folder '''ext''' like what you've done with runing Apache as Web Server. If you've already configured Apache to run mapguide successfully, nothing needs to be done with your PHP installation. … … 102 102 Suppose you know how to create windows registry key manually, create a registry key to HKEY_LOCAL_MACHINE->SOFTWARE->PHP->!IniFilePath with string value '''c:\php\''', this registry entry is to tell IIS where to find '''php.ini'''. 103 103 104 3. Configure IIS 7. Open IIS Manager by going to Control Panel->Administrative Tools->IIS Manager. 104 ==== Configure IIS 7. Open IIS Manager by going to Control Panel->Administrative Tools->IIS Manager ==== 105 105 106 a. Create Application Pool. Suppose you know how to open the GUI to add application pool, here we only list the values of the fields in GUI 106 '''Suppose you know how to open the GUI for the following actions, here we only list the values of the fields in GUI''' 107 108 1. Create Application Pool. 107 109 {{{ 108 110 Name: MapGuideAppPool … … 111 113 Start Application Pool Immediately: true 112 114 }}} 113 b. IIS configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory. The configuration of lower level can inherate from its parent layer. For this reason, we only configure Server level. In the left panel, select what every your machine name is, there should be a list of configuration categories in the right panel. The important categories are Handler Mapping, ISAPI and CGI Restrictions115 2. IIS configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory. The configuration of lower level can inherate from its parent layer. For this reason, we only configure Server level. In the left panel, select what every your machine name is, there should be a list of configuration categories in the right panel. The important categories are Handler Mapping, ISAPI and CGI Restrictions 114 116 115 c. Handler Mapping->Add Module Mappings, add the following module mappings116 1.FastCGIModule117 3. Handler Mapping->Add Module Mappings, add the following module mappings 118 * FastCGIModule 117 119 {{{ 118 120 requiest path: *.php … … 121 123 Name: PHP <version> 122 124 }}} 123 2.ISAPIModule125 * ISAPIModule 124 126 {{{ 125 127 request path: *.php … … 128 130 name: PHP ISAPI Handler 129 131 }}} 130 131 d. ISAPI and CGI Restrictions. Add the following restrictions: 132 1. Map Agent ISAPI Handler 132 4. ISAPI and CGI Restrictions. Add the following restrictions: 133 * Map Agent ISAPI Handler 133 134 {{{ 134 135 ISAPI or CGI Path: c:\mapguide-2.2-beta1\Web\www\mapagent\isapi_MapAgent.dll … … 136 137 Allow Extension Path To Execute: True 137 138 }}} 138 2.PHP ISAPI Handler139 * PHP ISAPI Handler 139 140 {{{ 140 141 ISAPI or CGI Path: c:\php\php5isapi.dll … … 143 144 }}} 144 145 145 e. Add Applications to Default Web Site. Right-click Default Web Site->Add Application146 5. Add Applications to Default Web Site. Right-click Default Web Site->Add Application 146 147 {{{ 147 148 Alias: mapguide … … 156 157 In theory, a web application should be able to be deployed to any web server with some instrumentation. We never tried to deploy !MapGuide Web App to JBoss, so this might be a future work if there is request for it. 157 158 158 === IIS ===