MapServer-documentation icon indicating copy to clipboard operation
MapServer-documentation copied to clipboard

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

Open jklymak opened this issue 2 years ago • 4 comments

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.

jklymak avatar Nov 26 '22 22:11 jklymak

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

jmckenna avatar Nov 28 '22 13:11 jmckenna

@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)

rouault avatar Nov 28 '22 13:11 rouault

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

jmckenna avatar Nov 28 '22 14:11 jmckenna

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

jklymak avatar Nov 28 '22 17:11 jklymak