[mapserver-users] query templates & https?
Joel Schlagel
joel at crrel.usace.army.mil
Tue Jul 3 07:55:27 PDT 2001
thanks!
.. brainded? please .. when esri made this change arcims
went from 3.0 to 3.1 :)
joel
On Tue, 3 Jul 2001, Stephen Lime wrote:
> It would if I weren't braindead when writing code. (I am getting better tho) To make this work
> you need to edit 1 line in mapserv.h. Change the macro:
>
> #define TEMPLATE_TYPE(s) (((strncmp("http://", s, 7) == 0) || (strncmp("ftp://", s, 6)) == 0) ? MS_URL : MS_FILE)
>
> to
>
> #define TEMPLATE_TYPE(s) (((strncmp("http://", s, 7) == 0) || (strncmp("https://", s, 8) == 0) || (strncmp("ftp://", s, 6)) == 0) ? MS_URL : MS_FILE)
>
> and recompile. That should flag your https as a URL template and everything should work. I have added this change to
> the CVS.
>
> Steve
>
> Stephen Lime
> Internet Applications Analyst
>
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
>
> >>> Joel Schlagel <joel at crrel.usace.army.mil> 07/02/01 01:10PM >>>
>
> is there a limitation to query templates that allows a url to be
> identified with http, but not https?
>
> if this works:
>
> QUERY
> TEMPLATE "http://myserver/myprog?arg=[item]
> END
>
> should this?
>
> QUERY
> TEMPLATE "https://myserver/myprog?arg=[item]
> END
>
>
> thanks
>
>
> joel
>
>
>
>
More information about the MapServer-users
mailing list