<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px"><div id="yui_3_16_0_ym19_1_1460149678864_2619">Hi all,</div><div id="yui_3_16_0_ym19_1_1460149678864_2618"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2645">I'm running mapserver locally in query mode with only two layers, a TYPE line layer and a polygon, both are simple shapefiles. When first loading my map with:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2645"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2645"><a href="http://127.0.0.1/cgi-bin/mapserv?map=/home/stefanos/mapdata/trikala.map" id="yui_3_16_0_ym19_1_1460149678864_2661">http://127.0.0.1/cgi-bin/mapserv?map=/home/stefanos/mapdata/mymap.map</a><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2645"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2645">and querying the line layer I get results just fine. But when trying to query the polygon layer, on the same zoomsize, I get the following error:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2645"><i id="yui_3_16_0_ym19_1_1460149678864_2951"><br id="yui_3_16_0_ym19_1_1460149678864_2938"></i></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2645"><i>Internal Server Error</i></div><div style="font-family: 'Times New Roman'; font-size: medium;" id="yui_3_16_0_ym19_1_1460149678864_2757"><i id="yui_3_16_0_ym19_1_1460149678864_2990">The server encountered an internal error or misconfiguration and was unable to complete your request.</i></div><div style="font-family: 'Times New Roman'; font-size: medium;" id="yui_3_16_0_ym19_1_1460149678864_2758"><i id="yui_3_16_0_ym19_1_1460149678864_3084">Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.</i></div><div style="font-family: 'Times New Roman'; font-size: medium;" dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><i id="yui_3_16_0_ym19_1_1460149678864_2950">More information about this error may be available in the server error log. </i></div><div style="font-family: 'Times New Roman'; font-size: medium;" dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div style="font-family: 'Times New Roman'; font-size: medium;" dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">However, if zoom in close enough, and query the polygon layer I get the proper results. So it seems to me that it has to do something with the zoomdir parameter ??</div><div style="font-family: 'Times New Roman'; font-size: medium;" dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><span style="font-family: 'Times New Roman'; font-size: medium;" id="yui_3_16_0_ym19_1_1460149678864_2869">The apache error log says: </span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><span style="font-family: 'Times New Roman'; font-size: medium;"> </span><font face="Times New Roman" size="3" id="yui_3_16_0_ym19_1_1460149678864_2870">End of script output before headers: mapserv, referer: <a href="http://127.0.0.1/cgi-bin/mapserv?map=/home/stefanos/mapdata/mymap.map" id="yui_3_16_0_ym19_1_1460149678864_2964">http://127.0.0.1/cgi-bin/mapserv?map=/home/stefanos/mapdata/mymap.map</a></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">The same thing happens with nquery mode, but it affects the line layer too in full extent. </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">This is my map file:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">################## LINE LAYER #########</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3160"> LAYER </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3161"> NAME "Urban"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3162"> DATA "outskirts" </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3163"> TYPE polygon</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3164"> STATUS default</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3165"> LABELITEM "Name"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3166"> LABELCACHE on</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3167"> TOLERANCE 200</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3168"> TOLERANCEUNITS meters</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3169"> PROJECTION</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3170"> "init=epsg:2100"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3171"> END</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3172"> HEADER "/var/www/html/final/urban_header.html"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3173"> FOOTER "/var/www/html/final/urban_footer.html"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3174"> CLASS </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3176"> TEMPLATE "/var/www/html/final/urban_query.html"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3177"> STYLE</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3178"> COLOR 210 180 140</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3179"> OUTLINECOLOR 255 255 255</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3180"> END</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3181"> LABEL </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3182"> COLOR 0 0 0 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3183"> POSITION cc</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3184"> ANGLE auto</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3185"> END</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3186"> END</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3187"> END #layer</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3187">############################# LINE LAYER ###############</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3188"> LAYER</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3189"> NAME "Roads"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3190"> TYPE line</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3191"> STATUS default</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3192"> DATA "Rnetwork"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3193"> LABELITEM "Street"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3194"> LABELCACHE on</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3195"> TOLERANCE 200</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3196"> TOLERANCEUNITS meters</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3197"> PROJECTION</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3198"> "init=epsg:2100"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3199"> END</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3200"> HEADER "/var/www/html/final/road_header.html"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3201"> FOOTER "/var/www/html/final/road_footer.html"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3202"> CLASS</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3204"> TEMPLATE "/var/www/html/final/road_query.html"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3205"> STYLE</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3206"> COLOR 0 0 255</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3207"> END</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3208"> LABEL </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3209"> COLOR 0 0 0 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3210"> ANGLE auto</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3211"> POSITION cc</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3212"> END #label</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3213"> END #class</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3214"> END #layer</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">apachectl -v is:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">Server version: Apache/2.4.7 (Ubuntu)<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">My apache cgi configuration:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3627"> <Directory "/usr/lib/cgi-bin"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3628"> AllowOverride None</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3629"> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3630"> Require all granted</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3631"> </Directory></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_3632"><br id="yui_3_16_0_ym19_1_1460149678864_3633"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">Any idea ? </div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1460149678864_2759">-Stefanos</div></div></body></html>