[mapguide-users] Webconfig.ini on Remote Server
Trevor Wekel
trevor_wekel at otxsystems.com
Thu Oct 8 09:07:05 EDT 2009
Hi Scott,
If you are using the Php/Java/.Net API, then you should already be running on the web tier. Both Studio and Maestro use HTTP to talk to MapGuide by hitting http://machine/mapguide/mapagent/mapagent.fcgi. Mapgent.fcgi in turn is mapped to isapi_mapagent.dll or the Apache module variant of the same file by the installers.
If you are building a custom app that connects directly to the MapGuide Server through the Php/Java/.Net API, then a few of steps are required:
1. Copy all of the required web extensions dlls to the client machine
2. Build your custom application in Php/.Net/Java ensuring that the appropriate extension/assembly/package references have been included.
3. Create a custom webconfig.ini file on the client machine that points to the MapGuide Server.
4. From the custom application, call MapGuideApi.MgInitializeWebTier() with the custom webconfig.ini.
5. Ensure the appropriate 280x or 281x ports are open between the two machines.
Please note: I have not tried this is quite some time. And I suspect that you probably just want to use HTTP instead.
Thanks,
Trevor
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Flipper
Sent: October 8, 2009 12:59 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Webconfig.ini on Remote Server
I may be just Plain tired...But I cant for the Life of me figure out how to
connect to a remote server to create a Site Connection
Mapguide Studio and Maestro seem to be able to do it with simply a Server
path i.e. http://remotemachine.com/mapguide/ and a username and password...
How do i do this too with API code?????
I get stuck at MapGuideApi.MgInitializeWebTier(); Area...How to I connect to
a remote Webconfig.iniu file...Am I missing something out of sherr
exhaustion?
--
View this message in context: http://n2.nabble.com/Webconfig-ini-on-Remote-Server-tp3786318p3786318.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list