Changeset 445 for trunk/zoo-project


Ignore:
Timestamp:
Oct 28, 2013, 2:39:49 PM (11 years ago)
Author:
djay
Message:

Update serverAddress param of the main section to the requested ZOO-Kernel at runtime in case it was not run from the command line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r444 r445  
    631631    setMapInMaps(m,"main","isSoap","false");
    632632
     633  if(strlen(cgiServerName)>0){
     634    char tmpUrl[1024];
     635    sprintf(tmpUrl,"http://%s%s",cgiServerName,cgiScriptName);
     636#ifdef DEBUG
     637    fprintf(stderr,"*** %s ***\n",tmpUrl);
     638#endif
     639    setMapInMaps(m,"main","serverAddress",tmpUrl);
     640  }
    633641
    634642  /**
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png