- Timestamp:
- Sep 16, 2010, 10:03:23 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/zoo_loader.c
r10 r19 102 102 #endif 103 103 104 /**105 * Read the main configuration file106 if(!isStarted){107 maps* m;108 m=(maps*)malloc(sizeof(maps*));109 conf_read("main.cfg",m);110 #ifdef REAL_FCGI111 #ifdef DEBUG112 printf("ok passed");113 #endif114 #endif115 isStarted=TRUE;116 }117 */118 119 104 #ifdef DEBUG 120 105 fprintf (stderr, "Addr:%s\n", cgiRemoteAddr); … … 132 117 }else{ 133 118 /* Here we have to return an error message ... */ 134 fprintf(stderr, "Unable to read cgi content in zoo_loader.c line %i\n", __LINE__); 119 fprintf(stderr, "Unable to read cgi content in zoo_loader.c line %i\n", __LINE__); 135 120 return 1; 136 121 } … … 164 149 * one. 165 150 */ 166 fprintf(stderr,"%i %i",tmpMap->value[0],'<');167 151 if(strncasecmp(cgiRequestMethod,"post",4)==0 || 168 152 (count(tmpMap)==1 && strncmp(tmpMap->value,"<",1)==0)){ … … 171 155 * (which should be always available in GET params so in cgiQueryString) 172 156 */ 173 //char *saveptr1, *saveptr2; 174 char *str1/*, str2, *token, *subtoken*/; 157 char *str1; 175 158 str1=cgiQueryString; 176 159 /** -
trunk/zoo-kernel/zoo_service_loader.c
r14 r19 173 173 freeMaps(&m); 174 174 free(m); 175 freeMap(&request_inputs);176 free(request_inputs);177 175 return 1; 178 176 } … … 185 183 freeMaps(&m); 186 184 free(m); 187 freeMap(&request_inputs);188 free(request_inputs);189 185 free(REQUEST); 190 186 return 1; -
trunk/zoo-services/ogr/base-vect-ops/cgi-env/Buffer.zcfg
r9 r19 28 28 </Default> 29 29 <Supported> 30 mimeType = ap lication/json30 mimeType = application/json 31 31 encoding = UTF-8 32 32 </Supported> -
trunk/zoo-services/ogr/base-vect-ops/cgi-env/Difference.zcfg
r9 r19 43 43 <Default> 44 44 mimeType = text/xml 45 encoding = UTF-8 45 46 schema = http://fooa/gml/3.1.0/polygon.xsd 46 encoding = UTF-847 47 </Default> 48 48 <Supported> … … 68 68 <Supported> 69 69 mimeType = text/xml 70 encoding = UTF-8 70 71 schema = http://fooa/gml/3.1.0/polygon.xsd 71 encoding = UTF-872 72 extension = xml 73 73 </Supported> -
trunk/zoo-services/ogr/base-vect-ops/cgi-env/Intersection.zcfg
r9 r19 68 68 <Supported> 69 69 mimeType = text/xml 70 encoding = UTF-8 70 71 schema = http://fooa/gml/3.1.0/polygon.xsd 71 encoding = UTF-872 72 extension = xml 73 73 </Supported> -
trunk/zoo-services/ogr/base-vect-ops/cgi-env/Union.zcfg
r9 r19 59 59 <MetaData lang="en"> 60 60 title = Mon test 61 </MetaData> 61 </MetaData> 62 62 <ComplexData> 63 63 <Default>
Note: See TracChangeset
for help on using the changeset viewer.