Skip to content
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

Tutorial broken and can use some more guidance for new 8.0 version? #779

Open
jklymak opened this issue Nov 26, 2022 · 4 comments
Open

Tutorial broken and can use some more guidance for new 8.0 version? #779

jklymak opened this issue Nov 26, 2022 · 4 comments
Labels
demo.mapserver.org demo OGC services

Comments

@jklymak
Copy link

jklymak commented Nov 26, 2022

Expected behavior and actual behavior.

Tutorial examples no longer have what I assume are meant to be maps in them:
https://mapserver.org/tutorial/example1-3.html#example1-3

Similarly, I am a completely new user, but the instructions for where to put the tutorial data and how to access from cgi are maybe outdated wrt to mapserver.conf?

I ended up installing the data in /usr/local/opt/mapserver/ms4w/ and then editing mapserver.conf to have

  MAPS
    TEST_MAPFILE "/usr/local/opt/mapserver/test/test.map"
    TUTORIAL11 "/usr/local/opt/mapserver/ms4w/apps/tutorial/htdocs/example1-1.map"
  END

which seems to work OK. I can also whitelist that directory and use full paths to access the examples.

@jmckenna
Copy link
Member

jmckenna commented Nov 28, 2022

thanks for reporting this @jklymak Would you mind filing this in the documentation repository? https://github.com/MapServer/MapServer-documentation/issues thanks.

@rouault
Copy link
Contributor

rouault commented Nov 28, 2022

@jmckenna Not sure if you are aware of it, but if you look at the right part of this ticket, you can see a "Transfer issue" label. That is convenient to move issues around repositories where you have sufficiently enough rights (should be OK for you in that instance)

@jmckenna
Copy link
Member

thanks @rouault I was not aware of that, perfect, will-do now. thanks.

@jmckenna jmckenna transferred this issue from MapServer/MapServer Nov 28, 2022
@jklymak
Copy link
Author

jklymak commented Nov 28, 2022

Thanks for moving this - apologies for not realizing there is a separate repo. Transferring, however, keeps the status as closed.

@jmckenna jmckenna reopened this Nov 28, 2022
@jmckenna jmckenna added the demo.mapserver.org demo OGC services label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo.mapserver.org demo OGC services
Projects
None yet
Development

No branches or pull requests

3 participants