[mapserver-users] setenv MS_MAPFILE not working

Daniel Morissette dmorissette at mapgears.com
Wed Feb 25 17:32:14 EST 2009


asle wrote:
> I have just setup and am running mapserver 5 on OS X Server 10.5. I have
> tried to set this in an include conf file:
> SetEnv Request_URI "/cgi-bin/demo" MS_MAPFILE=/MS/apps/demo/demo.map
> SetEnv Request_URI "/cgi-bin/demo" MS_ERRORFILE=/MS/apps/demo/ms.log
> 

Did you mean to use SetEnvIf instead of SetEnv? i.e.

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

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list