Skip to main content
edited tags
Link
Joseph
  • 76.7k
  • 8
  • 173
  • 286
add os information
Source Link
Jochen Schwarze
  • 15.1k
  • 8
  • 56
  • 124

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?

QGIS-Version 2.14.5 LTR

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?

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?

Source Link
Jochen Schwarze
  • 15.1k
  • 8
  • 56
  • 124

QGIS-Server - 500 internal server error

QGIS-Version 2.14.5 LTR

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?