[Qgis-user] qgis-mapserver on Windows ignore my postgis and shapefile layers

Jürgen E. Fischer jef at norbit.de
Fri Feb 11 12:16:46 PST 2011


Hi Oliver,

On Fri, 11. Feb 2011 at 15:38:10 +0100, Oliver Christen wrote:
> (The project is the same I used on Linux, but I had to correct the path 
> to the shapefiles as they seems to be stored as absolut path in the QGIS  
> project and obviously the apache cgi-bin folder is not at the same place 
> on both OS)

> Any idea why the postgis and shapefile layers are ignored?

Is suspect that mapserver doesn't find some DLLs an therefore cannot load the
postgres and OGR provider.  Unfortunately I think with the current apache in
OSGeo4W one cannot SetEnv PATH for CGIs (this could be [1]) and so you'd have
to change the PATH for the service is running in.

IIRC running apache manually from a cmd with proper PATH did help.  I didn't
find time to debug that further, but now that the Qt update is done...


Jürgen 

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=43906

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502




More information about the Qgis-user mailing list