WMS Server SetEnvIf + Apache

Eduin Carrillo yecarrillo at YAHOO.COM
Fri Oct 8 08:54:10 PDT 2004


 --- "Kralidis,Tom [Burlington]" <Tom.Kralidis at ec.gc.ca> escribió:

Thanks

1. Yes
2. Does not work

What I'm doing is more complicated: use one exe file with different maps,
depending of dummy exe file requested

Mapserver file: C:/Archivos de programa/Apache
Group/Apache2/cgi-bin/mapserv.exe
MapFile: C:/WEBSITES/central/mapas/basica.map

Test url: http://localhost/mapas/basica?REQUEST=GetCapabilities (Does Not work)
Answer: loadMap(): Web application error. CGI variable "map" is not set.

httpd.conf
----------

SetEnvIfNoCase Request_URI "/mapas/basica"
MS_MAPFILE=C:/WEBSITES/central/mapas/basica.map
ScriptAlias /mapas/ "C:/Archivos de programa/Apache Group/Apache2/cgi-bin/"
<Directory "C:/Archivos de programa/Apache Group/Apache2/cgi-bin">
    AllowOverride All
    Options FollowSymLinks
    RewriteEngine on
    RewriteBase   /mapas
    RewriteRule basica mapserv.exe
</Directory>

Thanks

Eduin Yesid Carrillo


More information about the MapServer-users mailing list