Re: [Qgis-user] Issues with OSGeo4W Apache startup (for QGIS Server)
On Wed, 15. Jan 2014 at 10:58:28 -0500, Peter Len wrote: I am using QGIS and wanted to install the QGIS Server. I was looking at the following page for how to do an install: http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial. It has me get 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. That's the problem. DefaultInitEnv is a mod_fcgid directive. AFAIK that works just fine. Not sure why that page tells you to switch it off. 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] Issues with OSGeo4W Apache startup (for QGIS Server)
Am 16.01.2014 12:14, schrieb Jürgen E. Fischer: That's the problem. DefaultInitEnv is a mod_fcgid directive. AFAIK that works just fine. Not sure why that page tells you to switch it off. It might have been useful in earlier days, and noone changed the wiki page when mod_fcgid was corrected. Or nobody noticed the missing dependency from http://trac.osgeo.org/osgeo4w/ticket/395. Greetings, André Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Issues with OSGeo4W Apache startup (for QGIS Server)
I am using QGIS and wanted to install the QGIS Server. I was looking at the following page for how to do an install: http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial. It has me get 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. When I went to start apache, I get the following error: C:\OSGeo4W\apache\binhttpd.exe -k start -n Apache OSGEO4W Web Server [Wed Jan 15 10:45:39 2014] [warn] module cgi_module is already loaded, skipping Syntax error on line 4 of C:/OSGeo4W/httpd.d/httpd_qgis.conf: Invalid command 'DefaultInitEnv', perhaps misspelled or defined by a module not included in the server configuration The conf file looks like: #LoadModule fcgid_module modules/mod_fcgid.so LoadModule cgi_module modules/mod_cgi.so DefaultInitEnv QGIS_PREFIX_PATH C:\OSGeo4W\apps\qgis DefaultInitEnv TEMP C:\Users\pal1\AppData\Local\Temp DefaultInitEnv PATH C:\OSGeo4W\bin;C:\OSGeo4W\apps\qgis\bin;C:\OSGeo4W\apps\grass\grass-6.4.3\bin;C:\OSGeo4W\apps\grass\grass-6.4.3\lib;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem Alias /qgis/ C:\OSGeo4W/apps/qgis/bin/ Directory C:\OSGeo4W/apps/qgis/bin/ #SetHandler fcgid-script SetHandler cgi-script Options ExecCGI Order allow,deny Allow from all /Directory There are three lines that use the DefaultInitEnv declaration and it will bomb out on the first one that is listed (I switched the order to see if it was one in particular). So, does anyone know where DefaultInitEnv is suppose to be defined as per the error message. Not sure what I may be missing from this installation that is creating this failure. Thanks - Peter ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user