-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CGI variable "map" fails to validate. #691
Comments
Is there a typo in the querystring?
Shouldn't it be |
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. |
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. |
And what did you get with this URL |
|
MapServer 8 requires a configuration file, did you do that? |
@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! |
@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:
|
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?
The text was updated successfully, but these errors were encountered: