| 1 | = Installing and Configuring Fusion = |
| 2 | |
| 3 | == !MapGuide Installation == |
| 4 | |
| 5 | === Windows === |
| 6 | 1. Download the latest binary archive from http://trac.osgeo.org/fusion. |
| 7 | 2. Unzip the archive into your !MapGuideOpenSource\!WebServerExtensions\www directory. If you selected the default location for !MapGuide Open Source during installation this will likely be located in C:\Program Files. Please refer to the 'Configuration' section below for further instruction if you did not install !MapGuide Open Source in the default location. |
| 8 | 3. View your installation by navigating to http://localhost:8008/mapguide/fusion/samples/mapguide/. Port 8008 is the default port used by !MapGuide Open Source. |
| 9 | |
| 10 | === Linux/OSX === |
| 11 | 1. Download the latest binary archive from http://trac.osgeo.org/fusion. |
| 12 | 2. Unzip the archive into your /usr/local/MapGuideOpenSource/www directory. |
| 13 | 3. View your installation by navigating to http://localhost:8008/mapguide/fusion/samples/mapguide/. Port 8008 is the default port used by !MapGuide Open Source. |
| 14 | |
| 15 | == !MapGuide Configuration == |
| 16 | |
| 17 | === All Operating Systems and Web Servers === |
| 18 | For those who did not install !MapGuide Open Source in the default location (i.e., C:\Program Files) you must perform the following configuration edits to Fusion. |
| 19 | 1. Locate the Common.php file in the Fusion directory (fusion/mapguide/php/Common.php). |
| 20 | 2. At the beginning of this file are two lines: |
| 21 | |
| 22 | {{{ |
| 23 | $defaultInstallDir = "C:/Program Files/MapGuideOpenSource/"; |
| 24 | $defaultExtensionDir = $installDir . "!WebServerExtensions/www/"; |
| 25 | }}} |
| 26 | |
| 27 | Modify these lines to point to your actual installation path. |
| 28 | 3. If Fusion is not installed inside the !WebServerExtensions/www directory, you must configure your web server to provide web access to Fusion. Doing this is dependent on the actual web server you have installed. You need to set up an alias (Apache) or virtual directory (IIS) to the 'fusion' directory and configure it to allow execution of PHP scripts. |