[mapserver-users] setting mapserv path in template

Adam Eskreis aeskreis at gmail.com
Thu Dec 29 13:29:51 EST 2011


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 at 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 at 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 at lists.osgeo.**org <mapserver-users at lists.osgeo.org>
>> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111229/9a866eef/attachment.html


More information about the mapserver-users mailing list