Mapserv not accepting POST method

Richard Greenwood richard.greenwood at GMAIL.COM
Fri Nov 16 09:18:01 EST 2007


On Nov 15, 2007 8:33 PM, Jeff Copes <jeff at bluemoonweather.org> wrote:
> Hi all.
>
> Working with the MapServer, apache 1.3.33 on Mac OS Tiger.
>
> Invoking mapserv from:
>
> <body>
> <form method=POST action="CGI-Executables/mapserv" >
> <input type="submit" value="Maps">
> <input type="hidden" name="map"
> value="/Library/WebServer/Maps/helloworld.map">
> <input type="hidden" name="map_web_imagepath"
> value="/Library/WebServer/Images">
> </form>
>
> </body>
>
> This error is displayed:
>
> The requested method POST is not allowed for the URL
> /CGI-Executables/mapserv
>
> The mapserv executable is in the CGI-Executables directory, has correct
> permissions, the other elements exist in the specified place, apache is
> working, the directories have the right permissions. Postdata is being
> flushed, browser cache is flushed. I hope this isn't something obvious, I
> don't need the beating.
>
> Thanks,
>
> Jeff

Have you tested that it works as a get, eg:

http://localhost/CGI-Executables/mapserv?map=/Library/WebServer/Maps/helloworld.map&map_web_imagepath=/Library/WebServer/Images



-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the mapserver-users mailing list