Changes between Version 30 and Version 31 of ConfigureGuide22Windows


Ignore:
Timestamp:
09/01/10 15:25:59 (14 years ago)
Author:
hluo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConfigureGuide22Windows

    v30 v31  
    8686 3. Configure Apache following the instruction [http://tomcat.apache.org/connectors-doc/ Here]
    8787
     88=== IIS 7.x ===
     89
     90 1. Install IIS 7.x to Windows 7 or Windows 2008 Server
     91
     92By default, IIS 7 under Windows 7 and Windows 2008 Server is a windows feature not turned on. Under Windows 7, to turn on this feature, go to Control Panel->Programs->Turn Windows Features On or Off, in the poped up Windows Features, expand Internet Information Services, check WWW Services, click OK to install the selected features. Under Windows 2008 Server, go to Control Panel->Administrative Tools->Server Manager, in the left panel of popped up window, 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.
     93
     94 2. Create registry key IniFilePath.
     95
     96suppose 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.
     97
     98Create a registry key to HKEY_LOCAL_MACHINE->SOFTWARE->PHP->IniFilePath with string value '''c:\php\''', this is where '''php.ini''' is.
     99
     100Open a windows command prompt as Administrator, type
     101{{{
     102regedit
     103}}}
     104
     105 3. Configure IIS 7. Open IIS Manager by going to Control Panel->Administrative Tools->IIS Manager.
     106
     107 * Create Application Pool. Below only list the values for the fields in GUI
     108
     109Name: MapGuideAppPool 
     110.NET Framework Version: (what ever version available in the drop down list)
     111Pipeline Mode: Integrated
     112Start Application Pool Immediately: true
     113
     114 * IIS's configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory. The configuration of lower layer can inherated from its parent layer. For this reason, we only configure at the Server layer. 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, ISAPI Filter
     115
     116 * Handler Mapping->Add Module Mappings, add the following module mappings
     117   1. FastCGIModule
     118{{{
     119requiest path: *.php
     120module: FastCGIModule
     121executable: C:\php\php.exe
     122Name: PHP <version>
     123}}}
     124   2. ISAPIModule
     125{{{
     126request path: *.php
     127module: IsapiModule
     128executable: c:\php\php5isapi.dll
     129name: PHP ISAPI Handler
     130}}}
     131
     132 * ISAPI and CGI Restrictions. Add the following restrictions:
     133   1. Map Agent ISAPI Handler
     134{{{
     135ISAPI or CGI Path: c:\mapguide-2.2-beta1\Web\www\mapagent\isapi_MapAgent.dll
     136Description: MapGuide MapAgent ISAPI Handler
     137}}}
     138   2. PHP ISAPI Handler
     139{{{
     140ISAPI or CGI Path: c:\php\php5isapi.dll
     141Description: PHP ISAPI Handler
     142}}}
     143
     144 * Add Applications to Default Web Site. Right-click Default Web Site->Add Application
     145{{{
     146Alias: mapguide
     147Application Pool: MapGuideAppPool
     148Physical Path: c:\mapguide-2.2-beta1\Web\www
     149}}}
     150
    88151== JBoss ==
    89152