<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi Olivier,</span></div><div><br></div><div>Done. With export <span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">TINYOWS_MAPFILE=/usr/local/tinyows/wfst.map</span>, <span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">./tinyows10 --check</span> throws this:<br></div><div><br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">TinyOWS version:&nbsp;&nbsp; 1.0.0rc1</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">FCGI support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Config File Path:&nbsp;
 /usr/local/tinyows/wfst.map (Mapfile)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">PostGIS dsn:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host=127.0.0.1 user=postgres password=postgres dbname=sandbox port=5432</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Output Encoding:&nbsp;&nbsp; UTF-8</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Database Encoding: UTF8</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Schema dir:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/tinyows/schema</span><br style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Display bbox:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Estimated extent:&nbsp; No</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Check schema:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Check valid geoms: Yes</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">...</span></div><div><br></div><div>It's weird, I remember to set the <span
 style="font-family: Courier New,courier,monaco,monospace,sans-serif;">TINYOWS_MAPFILE<span style="font-family: arial,helvetica,sans-serif;"> environment var before, </span><span style="font-family: arial,helvetica,sans-serif;">maybe I forgot to type <span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">export</span>.</span><br></span></div><div><br></div><div>Thanks, now I will test this version on a Fedora/Apache server with QuantumGIS.<br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"></span></div><div><br></div><div><font style="font-weight:bold;color:rgb(0, 96, 191);font-family:verdana, helvetica, sans-serif;" size="2">IC Carlos Ruiz</font><br><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b>
 Olivier Courtin &lt;olivier.courtin@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> TinyOWS users discuss list &lt;tinyows-users@lists.maptools.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, May 3, 2011 9:43 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [TinyOWS-users] [TinyOWS-dev] [ANN] TinyOWS 1.0.0 rc1 is out !<br></font><br>
<br>On May 3, 2011, at 4:27 PM, Carlos Ruiz wrote:<br><br>Hi Carlos,<br><br>&gt; This is what ./tinyows10 --check dumps:<br>&gt;<br>&gt; Config File Path:&nbsp; /usr/local/tinyows/config.xml (TinyOWS XML)<br><br>Yeap at least we understand why it does works as you expected.<br><br><br>&gt; How does TinyOWS knows when to use the .map file configuration or&nbsp; <br>&gt; the config.xml configuration ?<br><br><br>on command line:<br>export TINYOWS_MAPFILE=path_to_your_mapfile.map<br><br>On Apache should be:<br>SetEnv TINYOWS_MAPFILE&nbsp; path_to_your_mapfile.map<br><br><br>Let us know,<br><br>--<br>Olivier<br><br>_______________________________________________<br>TinyOWS-users mailing list<br><a ymailto="mailto:TinyOWS-users@lists.maptools.org" href="mailto:TinyOWS-users@lists.maptools.org">TinyOWS-users@lists.maptools.org</a><br>http://lists.maptools.org/mailman/listinfo/tinyows-users<br><br><br></div></div></div></body></html>