Replies: 9 comments
-
Is there a typo in the querystring?
Shouldn't it be |
Beta Was this translation helpful? Give feedback.
-
Thanks for helping out. It was actually just a type in the issue, not the original query. I double checked and fixed the original post. |
Beta Was this translation helpful? Give feedback.
-
Hey Guys, When doing curl
Not sure what's going wrong and how to debug it. Just trying to setup a basic minimalistic version of it. |
Beta Was this translation helpful? Give feedback.
-
And what did you get with this URL |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
MapServer 8 requires a configuration file, did you do that? |
Beta Was this translation helpful? Give feedback.
-
@sbrunner : Below is my entire setup: docker-compose.yaml:
content inside /mapserver/test dir: mapserver.map file:
I'm running it using This is what I see in my terminal: Is there any other config file that I need to define? Am else I am missing in this minimalistic setup? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
@Zia- there is a working Docker file using the camptocamp image at https://github.com/geographika/getting-started-with-mapserver/blob/main/workshop/exercises/docker-compose.yml It also has a config file https://github.com/geographika/getting-started-with-mapserver/blob/main/workshop/exercises/mapfiles/mapserver.conf referenced in the docker-compose file:
|
Beta Was this translation helpful? Give feedback.
-
Hello all, I have similar issue, but in my case, I have working configuration based on camptocamp/mapserver:8.0, but when I try to update to version 8.2 or even 8.4. Mapserver will stop working with error "Web application error. CGI variable "map" fails to validate.". The only thing I'm changing is image version, nothing else. Any idea what could change between version 8.0 and 8.2? Thanks |
Beta Was this translation helpful? Give feedback.
-
I'm trying to get the mapserver up and running but get the following error:
msCGILoadMap(): Web application error. CGI variable "map" fails to validate.
Here is my compose file:
The local
mapserver
dir contains the following:mapserver.map
is the example file from the map server tutorial.states_ugl.shp
is the corresponding shapes file.I changed the
SHAPEPATH
to use thedata
-directory:mapserver.map
The query used is:
What could be the problem?
Beta Was this translation helpful? Give feedback.
All reactions