|
|
Iscritto: Apr 2005
Posts: 303
Member
|
Member
Iscritto: Apr 2005
Posts: 303 |
questo e' sul file arcimsparam
// get machine name var hostName = document.location.host; // common portion of url var esriBlurb = "/servlet/com.esri.esrimap.Esrimap?ServiceName=" // make URL for getting mapservice catalog var catURL = "http://" + hostName + esriBlurb + "catalog"; // make prefix for URL var serverURL = "http://" + hostName + esriBlurb;
//********************************************************************* //* parameters set by Designer * //********************************************************************* var imsURL = 'http://localhost/servlet/com.esri.esrimap.Esrimap?ServiceName=prova'; var imsOVURL = 'http://localhost/servlet/com.esri.esrimap.Esrimap?ServiceName=prova'; var imsQueryURL = ''; var imsGeocodeURL = '';
questo e' scritto su authorize.htm
// encoding for XML header var localeEncoding = 'encoding="UTF-8" '; var XMLMode = 1; var lastURL = ""; // client version var cVersion = "&ClientVersion=4.0"; // get machine name var hostName = document.location.host; // the base servlet connector URL var connectorURL = "http://" + hostName + "/servlet/com.esri.esrimap.Esrimap?ServiceName=redirect";
se io volessi mettere un ip come dovrei fare? visto che ho un ip dinamico e quindi dovrei cambiarlo spesso... e sarebbe possibile e come si dovrebbe fare per usare sia ip sia localhost?
|
|
|
Link Copiato negli Appunti