[mapserver-users] setenv MS_MAPFILE not working
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Thu Feb 26 02:57:00 PST 2009
I am having a full physical path there
MS_MAPFILE=d:/data/maps/test.map
-Jukka-
> -----Alkuperäinen viesti-----
> Lähettäjä: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta asle
> Lähetetty: 26. helmikuuta 2009 12:48
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: Re: [mapserver-users] setenv MS_MAPFILE not working
>
>
> Thanks,
> I thought that setenvif should fix that but I understand it
> needs some more info. When I then enter
> http://domainname.../cgi-bin/demo?mode=map&layers=all
> I then get this error:
> loadMap(): Web application error. CGI variable "map" is not set.
> so it seems it could be my path is not set correctly in my
> mapserv.conf (http). Is the pathe in SETENVIF local or from
> the webroot for apache or webroot for the domain?
>
> /asle
>
>
> Rahkonen Jukka wrote:
> >
> > Hi,
> >
> > This is not an error. You do not ask Mapserver to do anything for
> > you, therefore it answers "QUERY_STRING is set, but empty." Add
> > something reasonable to the query and you may start seeing
> something.
> > You can start by adding ?mode=map&layers=all and sending the query
> > from browser.
> >
> > -Jukka Rahkonen-
> >
> >
> >
> >> -----Alkuperäinen viesti-----
> >> Lähettäjä: mapserver-users-bounces at lists.osgeo.org
> >> [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta asle
> >> Lähetetty: 26. helmikuuta 2009 11:57
> >> Vastaanottaja: mapserver-users at lists.osgeo.org
> >> Aihe: Re: [mapserver-users] setenv MS_MAPFILE not working
> >>
> >>
> >> Yes, of course I miswrote that. This should be correct?
> >> SetEnvIf Request_URI "/cgi-bin/demo"
> >> MS_MAPFILE=/MS/apps/demo/demo.map SetEnvIf Request_URI
> >> "/cgi-bin/demo" MS_ERRORFILE=/MS/apps/demo/ms.log
> >>
> >> But I still get the same error when I type the URL
> >> http://domainname.../cgi-bin/demo No query information to decode.
> >> QUERY_STRING is set, but empty.
> >>
> >> --
> >> View this message in context:
> >> http://n2.nabble.com/setenv-MS_MAPFILE-not-working-tp2386468p2
> >> 388730.html
> >> Sent from the Mapserver - User mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> mapserver-users mailing list
> >> mapserver-users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >>
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/setenv-MS_MAPFILE-not-working-tp2386468p2
> 388949.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list