Changeset 14282
- Timestamp:
- 2007-07-31T10:41:04+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/oaiservr/oaiaction.cpp
r9608 r14282 216 216 217 217 // Read stuff from the gsdlsite.cfg file. We do this to get the base URL (httpdomain) 218 site_cfg_read(gsdlhome, httpdomain, httpprefix); 218 //site_cfg_read(gsdlhome, httpdomain, httpprefix); 219 text_t baseURL = this->configuration->getCollectionConfig("", "baseURL"); 219 220 220 221 int version = this->configuration->getOAIVersion(); … … 225 226 * <requestURL>http://baseURL.com/oaimain?verb="someVerb"&key=value</requestURL> 226 227 */ 227 requestURL = " <requestURL>" + httpdomain + "/oaimain";228 requestURL = " <requestURL>" + baseURL; 228 229 229 230 if(numArgs == 0) break; // If no args, all done - the error will be picked up later … … 251 252 */ 252 253 if(numArgs == 0) { 253 requestURL = " <request>" + httpdomain + "/oaimain</request>\n";254 requestURL = " <request>" + baseURL + "</request>\n"; 254 255 break; 255 256 } … … 260 261 ++here; 261 262 } 262 requestURL += ">\n " + httpdomain + "/oaimain</request>\n";263 requestURL += ">\n " + baseURL + "</request>\n"; 263 264 break; 264 265 }
Note:
See TracChangeset
for help on using the changeset viewer.