WMS Server SetEnvIf + Apache
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Thu Oct 7 17:44:04 PDT 2004
> -----Original Message-----
> From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Eduin Carrillo
> Sent: Thursday, 07 October, 2004 19:25
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] WMS Server SetEnvIf + Apache
>
>
> I'm trying to configure a WMS server under Apache+WinXP. I
> used SetEnvIf directive to pass mapfile name (MS_MAPFILE),
> without results. Any hints?
>
> ***http.conf****
> ...
> SetEnvIf Request_URI /maps/mywms MS_MAPFILE=C:/maps/basic.map ...
>
1./ Does http://localhost/maps/mywms give you the MapServer message:
"No query information to decode. QUERY_STRING is set, but empty."
2./ Try double quoting your request url? i.e.:
SetEnvIf Request_URI "/maps/mywms" MS_MAPFILE=C:/maps/basic.map ...
2./
Does SetEnvIfNoCase work? i.e.:
SetEnvIfNoCase Request_URI "/cgi-bin/ms_ogc_workshop" MS_MAPFILE=/ms4w/apps/ms_ogc_workshop/service/config.map
This works for me under Apache on WinXP as expected.
..Tom
> _________________________________________________________
> Do You Yahoo!?
> Información de Estados Unidos y América Latina, en Yahoo!
> Noticias. Visítanos en http://noticias.espanol.yahoo.com
>
More information about the MapServer-users
mailing list