Re: [Qgis-user] Problems loading/accessing QGIS Server.... what am I missing?
Hi Peter, On Thu, 16. Jan 2014 at 09:25:01 -0500, Peter Len wrote: > The OSGeo4W installer does not come with a mod_fcgid.so file. There is a mod_fcgid package[1] in OSGeo4W. Jürgen [1] http://download.osgeo.org/osgeo4w/x86/release/apache/mod_fcgid/mod_fcgid-2.3.6-1.tar.bz2 -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems loading/accessing QGIS Server.... what am I missing?
Jurgen, Thanks for the reply. The OSGeo4W installer does not come with a mod_fcgid.so file. I have seen some references that seem to indicate that maybe the Windows install should now work with FastCGI, but the installation doesn't include it. A regular Apache Web Server (outside of OSGeo) install does not include it either. I tried downloading the module separately but I got an error when trying to start Apache so it either wasn't the right one to use or it still can't be used on Windows. - Peter -Original Message- >From: Jürgen E. Fischer >Sent: Jan 16, 2014 9:13 AM >To: qgis-user@lists.osgeo.org >Subject: Re: [Qgis-user] Problems loading/accessing QGIS Server.... what >am I missing? > >Hi Peter, > >On Thu, 16. Jan 2014 at 08:42:15 -0500, Peter Len wrote: >> Okay, the wiki has been updated with the additional items I found for the >> Windows installation > >Doesn't mod_fcgid work? > > >Jürgen > >-- >Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 >Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 >Software Engineer D-26506 Norden http://www.norbit.de >QGIS PSC member (RM) IRC: jef on FreeNode > > >-- >norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH >Rheinstrasse 13, 26506 Norden >GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 > >___ >Qgis-user mailing list >Qgis-user@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems loading/accessing QGIS Server.... what am I missing?
Hi Peter, On Thu, 16. Jan 2014 at 08:42:15 -0500, Peter Len wrote: > Okay, the wiki has been updated with the additional items I found for the > Windows installation Doesn't mod_fcgid work? Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems loading/accessing QGIS Server.... what am I missing?
Okay, the wiki has been updated with the additional items I found for the Windows installation -Original Message- >From: Andreas Neumann >Sent: Jan 15, 2014 3:50 PM >To: qgis-user@lists.osgeo.org >Subject: Re: [Qgis-user] Problems loading/accessing QGIS Server.... what am I >missing? > >Hi Peter, > >Thanks for communicating this. Most QGIS server users are on Linux. The >Windows QGIS server users are a smaller group and only recently it seems >that more people use QGIS server on Windows. It is therefore important >the Windows users document the issues they have and the workarounds. > >If possible - could you please add this to the QGIS server tutorial wiki >http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial > >Thanks a lot, >Andreas > >Am 15.01.2014 21:42, schrieb Peter Len: >> So, this was fixed by copying all of the .dll libraries from c:/OSGeo4W/bin >> to c:/OSGeo4W/apps/qgis/bin. Not sure why none of the references I used >> indicated this, so I am not fully comfortable that it is truly working. I >> have been able to load a QGIS Desktop project served up by QGIS Server to >> both ArcMap and QGIS so at least that is a start. >> >> >> -Original Message- >>> From: Peter Len >>> Sent: Jan 15, 2014 1:13 PM >>> To: qgis-user@lists.osgeo.org >>> Subject: [Qgis-user] Problems loading/accessing QGIS Server what am I >>> missing? >>> >>> I am using QGIS and wanted to install the QGIS Server on a Windows 7 box. >>> I was looking at the following pages for how to do an install on Windows 7: >>> >>> http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial >>> http://anitagraser.com/2012/04/06/qgis-server-on-windows7-step-by-step/ >>> >>> I got the installer from >>> http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe. When I ran the >>> install, I did an advanced installation and selected to install the Apache >>> Webserver and the QGIS Server. The instructions went on to say that for >>> Windows installs you must change FastCGI to just the CGI in the >>> httpd_qgis.conf file. So now the httpd_qgis.conf references: >>> >>> LoadModule cgi_module modules/mod_cgi.so >>> SetHandler cgi-script >>> >>> After another change in that conf file to change DefaultInitEnv to SetEnv >>> (using DefaultInitEnv threw errors). After that, I was able to start the >>> Apache web server and was able go to the default page. I noticed that the >>> page indicated that there was only 1 osgeo4w application installed >>> (phpinfo). >>> >>> The instructions then indicated that the following GetCapabilities call >>> should work: >>> >>> http://localhost:8090/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities >>> >>> When I ran this in the browser, it indicated that there was an error. The >>> error log file stated: >>> >>> Premature end of script headers: qgis_mapserv.fcgi.exe >>> >>> This made me think that there was some mismatch between changing the conf >>> file to use "cgi" rather than "fcgi". There is no qgis_mapserv.cgi.exe, >>> however. Not sure what I am missing here. Both sets of instructions were >>> followed and they both indicate it should be working. Does anyone know >>> what I may be missing? >>> >>> Thanks - Peter >>> ___ >>> Qgis-user mailing list >>> Qgis-user@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/qgis-user >> >> ___ >> Qgis-user mailing list >> Qgis-user@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-user >> > >___ >Qgis-user mailing list >Qgis-user@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems loading/accessing QGIS Server.... what am I missing?
Hi Peter, Thanks for communicating this. Most QGIS server users are on Linux. The Windows QGIS server users are a smaller group and only recently it seems that more people use QGIS server on Windows. It is therefore important the Windows users document the issues they have and the workarounds. If possible - could you please add this to the QGIS server tutorial wiki http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial Thanks a lot, Andreas Am 15.01.2014 21:42, schrieb Peter Len: > So, this was fixed by copying all of the .dll libraries from c:/OSGeo4W/bin > to c:/OSGeo4W/apps/qgis/bin. Not sure why none of the references I used > indicated this, so I am not fully comfortable that it is truly working. I > have been able to load a QGIS Desktop project served up by QGIS Server to > both ArcMap and QGIS so at least that is a start. > > > -Original Message- >> From: Peter Len >> Sent: Jan 15, 2014 1:13 PM >> To: qgis-user@lists.osgeo.org >> Subject: [Qgis-user] Problems loading/accessing QGIS Server what am I >> missing? >> >> I am using QGIS and wanted to install the QGIS Server on a Windows 7 box. I >> was looking at the following pages for how to do an install on Windows 7: >> >> http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial >> http://anitagraser.com/2012/04/06/qgis-server-on-windows7-step-by-step/ >> >> I got the installer from >> http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe. When I ran the >> install, I did an advanced installation and selected to install the Apache >> Webserver and the QGIS Server. The instructions went on to say that for >> Windows installs you must change FastCGI to just the CGI in the >> httpd_qgis.conf file. So now the httpd_qgis.conf references: >> >> LoadModule cgi_module modules/mod_cgi.so >> SetHandler cgi-script >> >> After another change in that conf file to change DefaultInitEnv to SetEnv >> (using DefaultInitEnv threw errors). After that, I was able to start the >> Apache web server and was able go to the default page. I noticed that the >> page indicated that there was only 1 osgeo4w application installed (phpinfo). >> >> The instructions then indicated that the following GetCapabilities call >> should work: >> >> http://localhost:8090/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities >> >> When I ran this in the browser, it indicated that there was an error. The >> error log file stated: >> >> Premature end of script headers: qgis_mapserv.fcgi.exe >> >> This made me think that there was some mismatch between changing the conf >> file to use "cgi" rather than "fcgi". There is no qgis_mapserv.cgi.exe, >> however. Not sure what I am missing here. Both sets of instructions were >> followed and they both indicate it should be working. Does anyone know what >> I may be missing? >> >> Thanks - Peter >> ___ >> Qgis-user mailing list >> Qgis-user@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-user > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems loading/accessing QGIS Server.... what am I missing?
So, this was fixed by copying all of the .dll libraries from c:/OSGeo4W/bin to c:/OSGeo4W/apps/qgis/bin. Not sure why none of the references I used indicated this, so I am not fully comfortable that it is truly working. I have been able to load a QGIS Desktop project served up by QGIS Server to both ArcMap and QGIS so at least that is a start. -Original Message- >From: Peter Len >Sent: Jan 15, 2014 1:13 PM >To: qgis-user@lists.osgeo.org >Subject: [Qgis-user] Problems loading/accessing QGIS Server what am I >missing? > >I am using QGIS and wanted to install the QGIS Server on a Windows 7 box. I >was looking at the following pages for how to do an install on Windows 7: > >http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial >http://anitagraser.com/2012/04/06/qgis-server-on-windows7-step-by-step/ > >I got the installer from http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe. >When I ran the install, I did an advanced installation and selected to install >the Apache Webserver and the QGIS Server. The instructions went on to say >that for Windows installs you must change FastCGI to just the CGI in the >httpd_qgis.conf file. So now the httpd_qgis.conf references: > >LoadModule cgi_module modules/mod_cgi.so >SetHandler cgi-script > >After another change in that conf file to change DefaultInitEnv to SetEnv >(using DefaultInitEnv threw errors). After that, I was able to start the >Apache web server and was able go to the default page. I noticed that the >page indicated that there was only 1 osgeo4w application installed (phpinfo). > >The instructions then indicated that the following GetCapabilities call should >work: > >http://localhost:8090/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > >When I ran this in the browser, it indicated that there was an error. The >error log file stated: > >Premature end of script headers: qgis_mapserv.fcgi.exe > >This made me think that there was some mismatch between changing the conf file >to use "cgi" rather than "fcgi". There is no qgis_mapserv.cgi.exe, however. >Not sure what I am missing here. Both sets of instructions were followed and >they both indicate it should be working. Does anyone know what I may be >missing? > >Thanks - Peter >___ >Qgis-user mailing list >Qgis-user@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user