Verify that the server config is functioning.  Examine the actual config file 
on your server installation; look for the file

.../Wms/OgcWmsService.config.awd

And see what's present at around line 39.  You should see

38  <!-- The URL elements.  Change to suit, as this is reported -->
39  <Define item="SERVER_NAME">localhost:8008</Define>
40  <Define item="SCRIPT_NAME">/mapguide/mapagent/mapagent.fcgi</Define>

... or something similar for these two definitions.  This is what the WMS 
component is using to generate WMS responses, so if they're wrong, you'll need 
to modify them.

Definitions on line 25-36 should also be set, but these are informational 
metadata, not used to build the URL.  Lines 42-46 should not be modified.

(Note that the line numbers are keyed off the default file as seen at

http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Server/src/Wms/OgcWmsService.config.awd

and your line numbers may vary, based on prior modifications.)

HTH

- Thomas

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of julienltr
Sent: Monday, October 08, 2007 6:00 AM
To: [email protected]
Subject: Re: [mapguide-users] GetCapabilities with wrong IP


Hi,

I have the exact same problem with the WMS GetCapabilities.
You can take a look
http://www.nabble.com/WMS-%3A-mapagent-doesn%27t-reflect-the-mapadmin-configuration-tf4497061s16610.html#a12824717
here  but no awser...
At least, I'm not alone ;)


Zedler, Jörg wrote:
>
> Hi,
> sending GetCapabilities to MapGuide-Server, I got the right XML, but the
> address of the server came with localhost and not with the real IP or
> Servername.
>
> Output of GetCapabilities:
>
> <GetMap>
> <Format>image/png</Format>
> <Format>image/jpeg</Format>
> <Format>image/gif</Format>
> <DCPType>
> <HTTP>
> <Get>
> <OnlineResource xlink:type="simple"
> xlink:href="http://localhost:8008/mapguide/mapagent/mapagent.fcgi?"/>
> </Get>
> </HTTP>
> </DCPType>
> </GetMap>
>
> In serverconfig.ini all IP-Addresses are correct.
> What can I do, to get the GetCapabilities-Output with the real IP?
>
> Thanks for any answer
> Jörg Zedler
> INFOKOM Gütersloh AöR
>
>
>
> _______________________________________________
> mapguide-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>

--
View this message in context: 
http://www.nabble.com/GetCapabilities-with-wrong-IP-tf4586438s16610.html#a13096104
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to