Changes between Initial Version and Version 1 of SettingCustomMGSite


Ignore:
Timestamp:
09/25/10 10:55:13 (14 years ago)
Author:
nimcnaan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingCustomMGSite

    v1 v1  
     1The content was taken from the MapGuide mail list conversation: "Is it possible to maintain a separate viewerfiles for a project‏",
     2by Jackie Ng.
     3
     4A virtual directory called /mapguide is created in IIS by the installer.
     5This points to your physical path: C:\Program Files\OSGeo\MapGuide\Web\www
     6
     71. Copy this physical path to another directory of yourchoice. eg. C:\Program Files\OSGeo\MapGuide\Web\custom_www
     82. Then in IIS create another virtual directory eg: /mapguide_custom
     93. Make sure this virtual directory maps to your new physical path above, and has the same IIS settings as the original /mapguide virtual path.
     10Now you can do your required customizations in the copied directory.
     11
     12To use the original ajax viewer, use your original
     13url: eg. http://localhost/mapguide/mapviewerajax/...
     14
     15To use your customized ajax viewer, change the virtual directory in the
     16url: eg. http://localhost/mapguide_custom/mapviewerajax/
     17
     18Please note that There are relative path references inside many of the *.templ files in the viewerfiles folder & *.aspx located in mapviewnet folder. If you have changed any of these and copy them to another folder as instructed you should change ALL of the relative references to ensure the new folder is using your modified files.