QGIS-Version 2.14.5 LTR, QGIS Server running on Windows 2008 R2
I encounter a '500 Internal Server error' when using the url http://localhost/qgis-ltr/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&map=flst_ster.qgs
My httpd_qgis-ltr.conf looks like this:
LoadModule fcgid_module modules/mod_fcgid.so SetEnv PATH "C:\OSGeo4W\\bin;C:\OSGeo4W\\apps\qgis-ltr\bin;C:\OSGeo4W\\apps\grass\grass-@grassversion@\bin;C:\OSGeo4W\\apps\grass\grass-@grassversion@\lib;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem" SetEnv QGIS_PREFIX_PATH "C:\OSGeo4W\\apps\qgis-ltr" SetEnv QT_PLUGIN_PATH "C:\OSGeo4W\\apps\qgis-ltr\qtplugins;C:\OSGeo4W\\apps\qt4\plugins" SetEnv TEMP "C:\Users\sjo\AppData\Local\Temp" SetEnv PYTHONHOME "C:\OSGeo4W\apps\Python27" SetEnv PYTHONPATH "C:\OSGeo4W\apps\qgis-ltr\python" Alias /qgis-ltr/ C:\OSGeo4W\/apps/qgis-ltr/bin/ <Directory "C:\OSGeo4W\/apps/qgis-ltr/bin/"> SetHandler fcgid-script Options ExecCGI Order allow,deny Allow from all </Directory> I tried to replace (as suggested in various sources) to replace fcgid by cgi but this causes the same error and an additional Premature end of script headers: qgis_mapserv.fcgi.exe in the apache error.log
I remember getting this to work with 2.8.9.LTR (here I HAD TO replace fcgid by cgi) so have I missed any changes? What might have gone wrong here?
C:\OSGeo4W\/apps/qgis-ltr/bin/' correct shouldn't they beC:\OSGeo4W\apps\qgis-ltr\bin` orC:/OSGeo4W/apps/qgis-ltr/bin/?` in the path causes an error when trying to start apache service. Using/` in these paths lets apache service start normally, but the same500 internal server error. Even tried to replace the//by/in theSetEnv PATH...but no effect. Same 500...