MapGuide Open Source:  Home |  Download |  Internals

Ticket #163 (assigned enhancement)

Opened 1 year ago

Last modified 6 months ago

WebStudio Has Layer and Map Preview Dependancy on 'mapviewerphp' Option

Reported by: Crispin @ IME Assigned to: zjames (accepted)
Priority: medium Milestone:
Component: Web Studio Version:
Severity: major Keywords:
Cc: External ID:

Description

Using a defailt Windows install of MGOS 1.2b2 and .net (not PHP) there remains a dependancy in the WebStudio? for PHP with mapviewerphp:

http://127.0.0.1/mapguide/mapviewerphp/ajaxviewer.php?_bla_

Is there a parameter to allow the installed mapviewer to be utilised instead of the PHP?

The admin login also by default references port 8080 which is "not right" for my selected install options on IIS

http://127.0.0.1:8008/mapguide

Attachments

163.patch (4.5 kB) - added by jng on 01/08/08 10:25:48.

Change History

05/24/07 18:20:41 changed by zjames

  • status changed from new to assigned.
  • owner set to zjames.
  • type changed from defect to enhancement.
  • milestone set to 1.3.

This is expected behaviour but makes sense as a simple enhancement. The login default should be filed as a separate ticket but a workaround for that is to modify the config.xml file in your local installation.

01/08/08 10:25:48 changed by jng

  • attachment 163.patch added.

01/08/08 10:30:12 changed by jng

This patch modifies webstudio to utilise the <DefaultTechnology?> tag in the config.xml document.

When a session has been established, webstudio will create the viewer preview url based on the default technology option.

If 'php' is specified, the preview url will be http://<hostname:port>/mapguide/mapviewerphp/ajaxviewer.php

If 'java' is specified, the preview url will be http://<hostname:port>/mapguide/mapviewerjava/ajaxviewer.jsp

If 'aspnet' is specified, the preview url will be http://<hostname:port>/mapguide/mapviewernet/ajaxviewer.aspx

Otherwise, webstudio will use the installed default, which is: http://<hostname:port>/mapguide/mapviewerajax/

The layer, map, and weblayout previews have been modifed to use this calculated url, thus removing the dependency on 'mapviewerphp'

02/28/08 22:58:44 changed by tomfukushima

  • milestone deleted.