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 <[email protected]>
>Sent: Jan 15, 2014 1:13 PM
>To: [email protected]
>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
>[email protected]
>http://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to