Changes between Initial Version and Version 1 of InstallSideBySide1.2and2.0IIS


Ignore:
Timestamp:
Dec 17, 2007, 3:35:19 PM (16 years ago)
Author:
tomfukushima
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallSideBySide1.2and2.0IIS

    v1 v1  
     1These instructions allow you to install a version of !MapGuide Open Source 2.0 side by side with !MapGuide Open Source 1.2 using IIS. Please note that this is '''NOT''' an officially supported configuration, and is to be used for testing purposes only.
     2
     3These instructions assume that you have already installed !MapGuide Open Source 1.2 following all defaults for an IIS install.
     4
     5== Install !MapGuide Server 2.0 ==
     6 - Use all default options
     7 - The service will not start because of port conflicts with !MapGuide 1.2.  To resolve this, go to
     8{{{
     9 
     10   C:\Program Files\MapGuideOpenSource2.0\Server\Bin
     11
     12}}}
     13 - Edit the serverconfig.ini file with the following changes
     14{{{
     15 
     16    [AdministrativeConnectionProperties]
     17      Port = 2820
     18    [ClientConnectionProperties]
     19      Port = 2821
     20    [SiteConnectionProperties]
     21      Port = 2822
     22
     23}}}
     24== Install !MapGuide Web Extensions 2.0 ==
     25We need to use the bundled Apache install because MGOS 2.0 uses the same IIS virtual directory as MGOS 1.2 and so two IIS installs will not work.  If you know how to change the virtual directory in IIS, then side-by-side IIS installs should also work if you take some of the appropriate steps below.
     26
     27The MGOS 2.0 installer currently sets some registry keys incorrectly.  Before proceeding, export the HKEY_LOCAL_MACHINE\SOFTWARE\FASTCGI key using the registry editor.
     28
     29 - Install using the default options.
     30 - The !ApacheMapGuide service will not install because it has the same name as an existing service.  To fix this, perform the following steps
     31  - Open a command prompt
     32  - Change directory to
     33{{{
     34 
     35    C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\Apache2
     36
     37}}}
     38  - Type:
     39{{{
     40 
     41      bin\httpd -k install -n "ApacheMapGuide2.0"
     42      net start ApacheMapGuide2.0
     43
     44}}}
     45 - The server's port number in the !WebServerExtensions will be incorrect.  To resolve this issue:
     46  - Navigate to
     47{{{
     48 
     49    C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www
     50
     51}}}
     52  - Edit the webconfig.ini file as follows:
     53{{{
     54 
     55    [AdministrativeConnectionProperties]
     56      Port = 2820
     57    [ClientConnectionProperties]
     58      Port = 2821
     59    [SiteConnectionProperties]
     60      Port = 2822
     61
     62}}}
     63 
     64Using the registry editor, import the reg file that you exported above.
     65
     66Using the Services applet, restart the World Wide Web Publishing Service service.
     67Using the Services applet, restart teh ApacheMapGuide service.
     68
     69The URL that you will use to get to the 2.0 site is http://<machinename>:8008/mapguide.
     70 
     71If you are getting  PHP error dialogs coming up.  Start the registry editor, export (so that you have a copy) and delete the HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5.2.1 key. Then restart the World Wide Web Publishing Service service.