Hi Leigh,<div><br></div><div>I have not idea about Fedora... with Ubuntu it was a simple apt-get install... with GIS repo...that&#39;s all... all working fine... In my case I had to build gdal and mapserver as I needed Oracle drivers too.... and  the installation was very straight forward... </div>

<div><br></div><div>What OS do mapservers developers use ?<br><br></div><div><br><div class="gmail_quote">On Sat, Oct 23, 2010 at 10:16 AM, Leigh Holcombe <span dir="ltr">&lt;<a href="mailto:lholcombe@triple-bypass.net">lholcombe@triple-bypass.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
I&#39;ve been trying to learn the MapServer software for a few weeks now.  Mostly, I&#39;ve been running some examples from Bill Kropla&#39;s book, but I&#39;ve also been trying out some things on my own.  I&#39;m running version 5.6.5 on Fedora 13.<br>


<br>
My first question is about SELinux context.  After yum installation, the mapserv executable found in /usr/sbin has a context of system_u:object_r:bin_t:s0.  However, this causes serious problems for SELinux.  After trying numerous modifications, I have found that unconfined_u:object_r:httpd_unconfined_script_exec_t:s0 works - however, according to documentation, this is just barely better than turning SELinux off.  Can you offer any advice about setting this properly?  While SELinux is not crucial to my practice development, I feel it&#39;s a good idea to learn it.<br>


<br>
Secondly, I am having trouble loading map images without forms.  I have a properly configured virtual host, whose docroot is /var/www/html/nwss.dev.  My cgi directory is /var/www/cgi-bin, and my mapfile is located in /var/www/html/nwss.dev/mapserver_test.  According to the documentation, the path passed to the executable should be the path relative to the cgi location.  I take this to mean that either the absolute path above or the relative path ../html/nwss.dev/mapserver_test should work.  However, it does not.  Here is the HTML code I am trying to use (without &lt; &gt;):<br>


<br>
img src=&quot;<a href="http://www.nwss.dev/cgi-bin/mapserv?map=../html/nwss.dev/mapserver_test/map_13.map?mode=map" target="_blank">http://www.nwss.dev/cgi-bin/mapserv?map=../html/nwss.dev/mapserver_test/map_13.map?mode=map</a>&quot; width=&quot;800&quot; height=&quot;800&quot; border=&quot;0&quot;<br>


<br>
The web section (is it necessary in this example?) of my mapfile is:<br>
WEB<br>
        TEMPLATE &quot;/var/www/html/nwss.dev/mapserver_test/map_13.html&quot;<br>
        IMAGEPATH &quot;/var/www/html/nwss.dev/mapserver_test/tmp/&quot;<br>
        IMAGEURL &quot;/mapserver_test/tmp/&quot;<br>
END #end web<br>
<br>
Clearly, I&#39;m doing something wrong.  But based on what I&#39;ve read, it seems right.  Help!  Thanks for your time.<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sebastian E. Ovide<br><br><br><br><br>
</div>