Ignore:
Timestamp:
2009-04-20T14:15:11+12:00 (15 years ago)
Author:
kjdon
Message:

httpimg changed to httpweb, and default is now httpprefix/web. not /images or /gsdl/images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/recpt/cgiwrapper.cpp

    r18882 r19109  
    318318    cout << text_t2ascii << "  dbhome=" << configinfo.dbhome << "\n";
    319319  cout << text_t2ascii << "  httpprefix=" << configinfo.httpprefix << "\n";
    320   cout << text_t2ascii << "  httpimg=" << configinfo.httpimg << "\n";
     320  cout << text_t2ascii << "  httpweb=" << configinfo.httpweb << "\n";
    321321  cout << text_t2ascii << "  gwcgi=" << configinfo.gwcgi << "\n\n"
    322322       << "  Note that unless gwcgi has been set from a configuration\n"
     
    479479  int maxrequests = 10000;
    480480  recpt.configure ("collection", collection);
    481   recpt.configure ("httpimg", "/gsdl/images");
    482481  char *script_name = getenv("SCRIPT_NAME");
    483482  if (script_name != NULL) recpt.configure("gwcgi", script_name);
     
    504503    page_errorcollect (gsdlhome, errorpage, debug);
    505504  }
     505
     506  // set up the httpweb variable if it hasn't been defined yet
     507  if (configinfo.httpweb.empty()) {
     508    recpt.configure("httpweb", configinfo.httpprefix+"/web");
     509  }
     510 
    506511  // get the query string if it is not being run as a fastcgi
    507512  // script
Note: See TracChangeset for help on using the changeset viewer.