[prev in list] [next in list] [prev in thread] [next in thread]
List: mapserver-users
Subject: Re: [mapserver-users] setting mapserv path in template
From: Adam Eskreis <aeskreis () gmail ! com>
Date: 2011-12-29 18:29:51
Message-ID: CAGj+44G-b6Jd7SqMZBGLMo7gPGBjYMnchHVpORD3=X+k+sk40A () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Also are you sure hte CGI-BIN is set up properly on your webserver? That
could be hte problem as well.
On Thu, Dec 29, 2011 at 1:27 PM, Adam Eskreis <aeskreis@gmail.com> wrote:
> First of all, try using GET instead of POST. Once you make that change,
> post the full URL with parameters that you are trying to use and maybe we
> can help. One thing I cna say for sure is if those inputs are hte only
> parameters you are passing to mapserver, it's probably not enough. I don't
> see a parameter there for image type, a bounding box, or image width/height.
>
>
> On Thu, Dec 29, 2011 at 1:07 PM, gianluca.massei <
> agr.gianluca.massei@gmail.com> wrote:
>
> > I'm new in mapserver, I'm following a tutorial but I can't go on. I've
> > made a simple mapfile and a template with hidden form like this:
> >
> > <form method=POST action="/usr/lib/cgi-bin/**mapserv">
> > <input type="submit" value="Click to initialize">
> > <input type="hidden" name="program" value="/usr/lib/cgi-bin/**mapserv">
> > <input type="hidden" name="map" value="/var/www/mapdata/**maplab.map">
> > <input type="hidden" name=zoomsize size=2 value=2>
> > <input type="hidden" name="layers" value="geographcs monitoring">
> > </form>
> >
> > If I open the template with a browser I get a download window and ask me
> > If I wont download te mapserv file.
> > Could you help me?
> >
> > Thanks
> >
> > Gianluca
> > ______________________________**_________________
> > mapserver-users mailing list
> > mapserver-users@lists.osgeo.**org <mapserver-users@lists.osgeo.org>
> > http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
> >
>
>
[Attachment #5 (text/html)]
Also are you sure hte CGI-BIN is set up properly on your webserver? That could be hte \
problem as well.<br><br><div class="gmail_quote">On Thu, Dec 29, 2011 at 1:27 PM, \
Adam Eskreis <span dir="ltr"><<a \
href="mailto:aeskreis@gmail.com">aeskreis@gmail.com</a>></span> wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">First of all, try using GET instead of POST. Once you make \
that change, post the full URL with parameters that you are trying to use and maybe \
we can help. One thing I cna say for sure is if those inputs are hte only parameters \
you are passing to mapserver, it's probably not enough. I don't see a \
parameter there for image type, a bounding box, or image width/height.<div \
class="HOEnZb"> <div class="h5"><br>
<br><div class="gmail_quote">On Thu, Dec 29, 2011 at 1:07 PM, gianluca.massei <span \
dir="ltr"><<a href="mailto:agr.gianluca.massei@gmail.com" \
target="_blank">agr.gianluca.massei@gmail.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">
I'm new in mapserver, I'm following a tutorial but I can't go on. \
I've made a simple mapfile and a template with hidden form like this:<br> <br>
<form method=POST action="/usr/lib/cgi-bin/<u></u>mapserv"><br>
<input type="submit" value="Click to initialize"><br>
<input type="hidden" name="program" \
value="/usr/lib/cgi-bin/<u></u>mapserv"><br> <input \
type="hidden" name="map" \
value="/var/www/mapdata/<u></u>maplab.map"><br> <input \
type="hidden" name=zoomsize size=2 value=2><br> <input \
type="hidden" name="layers" value="geographcs \
monitoring"><br> </form><br>
<br>
If I open the template with a browser I get a download window and ask me If I wont \
download te mapserv file.<br> Could you help me?<br>
<br>
Thanks<br>
<br>
Gianluca<br>
______________________________<u></u>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" \
target="_blank">mapserver-users@lists.osgeo.<u></u>org</a><br> <a \
href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" \
target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-<u></u>users</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic