[MapServer-users] Setting up Mapserver 8 on Windows

2022-12-12 Thread Kalbermatten Michaël
Hi everbody,

I just spend a couple of hours trying to set up Mapserver 8.0 on Windows. To do 
that, I downloaded the latest stable release from GisInternals.

I am using Apache and FastCGI as webserver.

Everything went smoothly until I tried to make Mapserver load the new needed 
configuration file. It was just always claiming that it couln't load this file 
("msLoadConfig(): Unable to access file."), but I had set "SetEnv 
MAPSERVER_CONFIG_FILE" in my Apache configuration. Even setting 
MAPSERVER_CONFIG_FILE in a global system variable did not solve the issue.

After quite a while, I found this issue on Mapserver's issue tracker: 
https://github.com/MapServer/MapServer/issues/6411

This had not a lot to do with my issue, but I discovered the existence of 
FcgidInitialEnv. Setting this variable (FcgidInitialEnv MAPSERVER_CONFIG_FILE 
"C:/whereever/mapserver.conf") solved the issue.

So, is it mandatory to set FcgidInitialEnv when using Mapserver with FastCGI? 
If yes, wouldn't it be good to add something to the documentation 
(https://mapserver.org/mapfile/config.html).

Moreover, I spied in the ms4w 5 package. It seemed to me that they were using 
FastCGI as well, but I could not find anything regarding FcgidInitialEnv, thus 
my question...

Thanks a lot to anyone who would have some information regarding that.

Best regards

Michael






___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MapServer-users] Setting up Mapserver 8 on Windows

2022-12-12 Thread WhereGroup

Hi Michaël,

you are right, it depends on the cgi-mode.

SetEnv in apache is used für cgi-variables and
cgidInitialEnv is used für fast-cgi-variabes

it's a general issue not only windows and more a webserver issue than 
one of MapServer.


Jörg




Am 12.12.22 um 15:22 schrieb Kalbermatten Michaël:

Hi everbody,

I just spend a couple of hours trying to set up Mapserver 8.0 on 
Windows. To do that, I downloaded the latest stable release from 
GisInternals.


I am using Apache and FastCGI as webserver.

Everything went smoothly until I tried to make Mapserver load the new 
needed configuration file. It was just always claiming that it couln’t 
load this file (“msLoadConfig(): Unable to access file.”), but I had set 
“SetEnv MAPSERVER_CONFIG_FILE” in my Apache configuration. Even setting 
MAPSERVER_CONFIG_FILE in a global system variable did not solve the issue.


After quite a while, I found this issue on Mapserver’s issue tracker: 
https://github.com/MapServer/MapServer/issues/6411 



This had not a lot to do with my issue, but I discovered the existence 
of FcgidInitialEnv. Setting this variable (FcgidInitialEnv 
MAPSERVER_CONFIG_FILE "C:/whereever/mapserver.conf") solved the issue.


So, is it mandatory to set FcgidInitialEnv when using Mapserver with 
FastCGI? If yes, wouldn’t it be good to add something to the 
documentation (https://mapserver.org/mapfile/config.html 
).


Moreover, I spied in the ms4w 5 package. It seemed to me that they were 
using FastCGI as well, but I could not find anything regarding 
FcgidInitialEnv, thus my question…


Thanks a lot to anyone who would have some information regarding that.

Best regards

Michael


___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


--
Viele Grüße,
Jörg Thomsen

-
Where2B Konferenz 2022
15. Dezember 2022 in Bonn und Online
where2b-conference.com
-

Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany

Tel: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11

joerg.thom...@wheregroup.com
www.wheregroup.com

Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885

---
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com

___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


[MapServer-users] OSGeo Local Chapter Meeting for Twin Cities (aka TCMUG)

2022-12-12 Thread Basques, Bob (CI-StPaul)
All,

Next meeting will be at the Keg & Case on 7th Street in Saint Paul.  We're 
going to try something a little different this time.

There will be a 30 Min. virtual presentation to begin the meeting (@ ~4:30) and 
then continue with a F@F meeting until breakup.

Presentation will be on Web Service Scraping with OGR by Jim Klassen and how 
it's being used in the UnderGround Utilities Mapping Project (UUMP) by Bob 
Basques.

When:  Dec. 14th, 2022, 4:30
Where: Keg & Case

Virtual:  meet.jit.si/osgeo_tcmug

See you there.

Bobb





<>___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users