Dear Alan,<br><br>yes . the issue was with the imageurl. <br><br> WEB
<br>    TEMPLATE  &quot;/var/www/tutorial/example2-1.html&quot;
<br>    IMAGEPATH &quot;/var/www/tutorial/tmp/&quot;
<br>    IMAGEURL  &quot;<a href="http://localhost/tutorial/tmp/">http://localhost/tutorial/tmp/</a>&quot;
<br>  END<br><br>now it works !<br><br>I was worrying about the permission , as not familiar with ubuntu and failed to identify actual error.<br>Thanks a lot<br><br><br>Ashka<br><br><div class="gmail_quote">On Thu, Mar 4, 2010 at 6:48 AM, Alan Boudreault <span dir="ltr">&lt;<a href="mailto:aboudreault@mapgears.com">aboudreault@mapgears.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">ashka,<br>
<br>
Have you taken a look at the image url (in the browser) ? Since the image path is &quot;/var/www/tutorial/tmp&quot; and &quot;/var/www/&quot; is already available from the web (with the default apache configuration).... the image url of your image should be something like &quot;<a href="http://localhost/tutorial/tmp/EX2.1_12675266704111.png" target="_blank">http://localhost/tutorial/tmp/EX2.1_12675266704111.png</a>&quot;. The image url can be configured in the mapfile: <a href="http://mapserver.org/mapfile/web.html" target="_blank">http://mapserver.org/mapfile/web.html</a><br>

<br>
Alan<br>
<br>
ashka fernando wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Dear all,<br>
<br>
I am trying to run Mapserver in Ubuntu Karmic Koala. I have successfully used Mapserver in windows and now want to migrate to ubuntu . But I&#39;m very much new to ubuntu and struggle to get the work done smoothly.<br>
<br>
The Mapserver and Apache both are running ,works fine as localhost.<br>
I can get a map in map mode ( based on map server tutorial examples) but failed to get the map display in the browse mode.<br>
<br>
There is no error massage and the web template is displaying with all components except the map image. The map images are created inside the tmp folder however they are not displayed in the template interface.<br>
<br>
I think its due to permission issues but failed to solve it, even after going through forums.<br>
<br>
The locations of the templete and map files are /var/www/tutorial<br>
The location of the image path /var/www/tutorial/tmp<br>
<br>
For /var/www/tutorial/tmp permissions are as follows<br>
drwxrwsr-x 2 gisuser www-data  4096 2010-03-02 16:14 tmp<br>
<br>
when the new map images are created by the mapserver , the image files have permissions like this<br>
-rwxrwxr-- 1 www-data www-data 11686 2010-03-02 16:14 EX2.1_12675266704111.png<br>
<br>
<br>
Why doesn&#39;t these map images are not displaying in the web template file?<br>
<br>
Can anyone suggest a way to solve this issue?<br>
<br>
This may be rather relate to running Apache in Ubuntu. As failed to get any help from ubuntu forum, compelled to ask help from you all.<br>
appreciate any help .<br>
<br>
ashka<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">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>
  <br>
</blockquote>
<br>
<br>
-- <br>
Alan Boudreault<br>
Mapgears<br>
<a href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a> <br>
</blockquote></div><br>