﻿{"id":7959,"date":"2019-02-01T03:28:01","date_gmt":"2019-02-01T02:28:01","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=7959"},"modified":"2019-02-02T09:40:13","modified_gmt":"2019-02-02T08:40:13","slug":"how-to-install-qgis-server-in-windows-10","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/","title":{"rendered":"How to install QGis Server in Windows 10"},"content":{"rendered":"\n<p>If you want to install QGis Server in a Windows computer, you will start\na long road full of pitfalls. Firstly, 95% of the available documentation is to\nperform the installation with Linux. Secondly, WEB searches return pages from\ntime immemorial, mostly outdated or obsolete. Thirdly, you have to install\nseveral components, configure them and I have not found an article that scans\nall the installations. <\/p>\n\n\n\n<p>So, here is one. It was written on <strong>July 6, 2017.<\/strong> It is up to date\nfor that date, but if you read it in several months or years, I strongly advise\nyou to look for an article closer in time. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The goal is to install and set up the latest available version of QGIS\nServer LTR (2.14.x) on Windows 10 to be used with the Extended QGIS Web Client\n(EQWC). The necessary components are the following (minimum versions required):\n<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Apache 2.4 <\/li><li>PHP 5.5 <\/li><li>PostgresSQL 9.3 <\/li><li>QGIS Server LTR 2.14 <\/li><\/ul>\n\n\n\n<p>These are the minimum version, which means you will not have a problem\nif you install the latest available version of these components. <\/p>\n\n\n\n<p>For the first three, start by installing &nbsp;PostgreSQL. This will install StackBuilder\nwhich allows you to install Apache and PHP. <\/p>\n\n\n\n<p>For the PostgreSQL installation refer to the following article: <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/debuter-avec-postgrespostgis\/\">http:\/\/www.sigterritoires.fr\/index.php\/debuter-avec-postgrespostgis\/<\/a>\n<\/p>\n\n\n\n<p>During the installation, you will have to launch StackBuilder to install\n<a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/starting-with-postgres-postgis\/\">Postgis<\/a>. You can take advantage to check the Apache \/ PHP installation at this\nstage. \n\nIf you have already installed PostgreSQL, you\ncan launch StackBuilder from the Windows Applications menu.\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"415\" height=\"610\" data-attachment-id=\"7961\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/11-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/11.png?fit=415%2C610&amp;ssl=1\" data-orig-size=\"415,610\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"11\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/11.png?fit=415%2C610&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/11.png?resize=415%2C610&#038;ssl=1\" alt=\"\" class=\"wp-image-7961\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/11.png?w=415&amp;ssl=1 415w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/11.png?resize=204%2C300&amp;ssl=1 204w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/figure>\n\n\n\n<p>Launch StackBuilder and follow the installation steps:  (Place the mouse on the slide to stop scrolling.) <\/p>\n\n\n<p>[huge_it_gallery id=\u00a0\u00bb5&Prime;]<\/p>\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nOnce\nthe installation is completed, test the correct operation by entering the localhost:\nport address (port is the port number defined during the previous installation stage)\nin your browser &nbsp;&nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"409\" data-attachment-id=\"7974\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/113-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/113-1.png?fit=525%2C409&amp;ssl=1\" data-orig-size=\"525,409\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"113\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/113-1.png?fit=525%2C409&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/113-1.png?resize=525%2C409&#038;ssl=1\" alt=\"\" class=\"wp-image-7974\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/113-1.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/113-1.png?resize=300%2C234&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p><strong>How to install QGis Server LTR 2.14<\/strong> <\/p>\n\n\n\n<p>Follow the link <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/download.osgeo.org\/osgeo4w\/\">http:\/\/download.osgeo.org\/osgeo4w\/<\/a> to access the\nQGis Server installation directory. <\/p>\n\n\n\n<p>Depending on your processor, choose either osgeo4w-setup-x86.exe if you\nhave a 32-bit processor or osgeo4w-setup-x86_64.exe if you have a 64-bit\nprocessor. \n\nPlace the mouse on the slide to stop scrolling. &nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"60\" height=\"60\" data-attachment-id=\"7975\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/114-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/114.png?fit=60%2C60&amp;ssl=1\" data-orig-size=\"60,60\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"114\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/114.png?fit=60%2C60&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/114.png?resize=60%2C60&#038;ssl=1\" alt=\"\" class=\"wp-image-7975\"\/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nWarning!\nIn the Select packages window you MUST select, in addition to the WEB -&gt;\nqgis-ltr-server package: QGis server (long term release), the package DESKTOP\n-&gt; qgis: QGIS Desktop. If you do not, there are supplements that will not be\ninstalled and your QGis Server will not work. \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"387\" data-attachment-id=\"7976\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/115-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/115.png?fit=525%2C387&amp;ssl=1\" data-orig-size=\"525,387\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"115\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/115.png?fit=525%2C387&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/115.png?resize=525%2C387&#038;ssl=1\" alt=\"\" class=\"wp-image-7976\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/115.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/115.png?resize=300%2C221&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"393\" data-attachment-id=\"7977\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/116-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/116.png?fit=525%2C393&amp;ssl=1\" data-orig-size=\"525,393\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"116\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/116.png?fit=525%2C393&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/116.png?resize=525%2C393&#038;ssl=1\" alt=\"\" class=\"wp-image-7977\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/116.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/116.png?resize=300%2C225&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"389\" data-attachment-id=\"7978\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/117-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/117.png?fit=525%2C389&amp;ssl=1\" data-orig-size=\"525,389\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"117\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/117.png?fit=525%2C389&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/117.png?resize=525%2C389&#038;ssl=1\" alt=\"\" class=\"wp-image-7978\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/117.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/117.png?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"387\" data-attachment-id=\"7979\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/118-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/118.png?fit=525%2C387&amp;ssl=1\" data-orig-size=\"525,387\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"118\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/118.png?fit=525%2C387&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/118.png?resize=525%2C387&#038;ssl=1\" alt=\"\" class=\"wp-image-7979\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/118.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/118.png?resize=300%2C221&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"390\" data-attachment-id=\"7980\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/119-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/119.png?fit=525%2C390&amp;ssl=1\" data-orig-size=\"525,390\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"119\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/119.png?fit=525%2C390&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/119.png?resize=525%2C390&#038;ssl=1\" alt=\"\" class=\"wp-image-7980\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/119.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/119.png?resize=300%2C223&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"391\" data-attachment-id=\"7981\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/attachment\/120\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/120.png?fit=525%2C391&amp;ssl=1\" data-orig-size=\"525,391\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"120\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/120.png?fit=525%2C391&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/120.png?resize=525%2C391&#038;ssl=1\" alt=\"\" class=\"wp-image-7981\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/120.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/120.png?resize=300%2C223&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"387\" data-attachment-id=\"7982\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/121-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/121.png?fit=525%2C387&amp;ssl=1\" data-orig-size=\"525,387\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"121\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/121.png?fit=525%2C387&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/121.png?resize=525%2C387&#038;ssl=1\" alt=\"\" class=\"wp-image-7982\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/121.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/121.png?resize=300%2C221&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"391\" data-attachment-id=\"7983\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/122-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/122.png?fit=525%2C391&amp;ssl=1\" data-orig-size=\"525,391\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"122\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/122.png?fit=525%2C391&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/122.png?resize=525%2C391&#038;ssl=1\" alt=\"\" class=\"wp-image-7983\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/122.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/122.png?resize=300%2C223&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"395\" data-attachment-id=\"7984\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/123-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/123.png?fit=525%2C395&amp;ssl=1\" data-orig-size=\"525,395\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"123\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/123.png?fit=525%2C395&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/123.png?resize=525%2C395&#038;ssl=1\" alt=\"\" class=\"wp-image-7984\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/123.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/123.png?resize=300%2C226&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"392\" data-attachment-id=\"7985\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/124-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/124.png?fit=525%2C392&amp;ssl=1\" data-orig-size=\"525,392\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"124\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/124.png?fit=525%2C392&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/124.png?resize=525%2C392&#038;ssl=1\" alt=\"\" class=\"wp-image-7985\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/124.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/124.png?resize=300%2C224&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"388\" data-attachment-id=\"7986\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/125-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/125.png?fit=525%2C388&amp;ssl=1\" data-orig-size=\"525,388\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"125\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/125.png?fit=525%2C388&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/125.png?resize=525%2C388&#038;ssl=1\" alt=\"\" class=\"wp-image-7986\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/125.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/125.png?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p><strong>How to set up Apache <\/strong><\/p>\n\n\n\n<p>Firstly, you need to edit the Apache http.conf file that you cand find\nin C: \\ Program Files (x86) \\ PostgreSQL \\ EnterpriseDB-ApachePHP \\ apache \\\nconf if you followed the installation steps described below, or, &nbsp;in the installation directory you have\ndefined. <\/p>\n\n\n\n<p><strong>1 &#8211; Edit the ScriptAlias<\/strong> <\/p>\n\n\n\n<p>Search the line <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7987\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7987\"\/><\/figure>\n\n\n\n<p><strong>ScriptAlias\n\u200b\u200b\/ cgi-bin \/ \u00ab\u00a0C: \\ Program Files (x86) \\ PostgreSQL \\\nEnterpriseDB-ApachePHP \/ apache \/ cgi-bin \/\u00a0\u00bb<\/strong> (or the line starting with\nScriptAlias \u200b\u200b\/ cgi-bin \/ if you installed Apache in another directory ). <\/p>\n\n\n\n<p>Replace it with <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7989\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-2.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-2.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-2.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7989\"\/><\/figure>\n\n\n\n<p><strong>ScriptAlias\n\u200b\u200b\/ cgi-bin \/ \u00ab\u00a0c: \/ OSGeo4W64 \/ apps \/ qgis-ltr \/ bin \/\u00a0\u00bb<\/strong> <\/p>\n\n\n\n<p><strong>2- Find the &lt;Directory&gt; paragraph<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7990\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-3.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-3.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-3.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7990\"\/><\/figure>\n\n\n\n<p><strong>&lt;Directory\n\u00ab\u00a0C: \\ Program Files (x86) \\ PostgreSQL \\ EnterpriseDB-ApachePHP \/ apache \/\ncgi-bin\u00a0\u00bb&gt;<\/strong> <br>\n<strong>AllowOverride None<\/strong> <br>\n<strong>Options None<\/strong> <br>\n<strong>Require all granted<\/strong> <br>\n<strong>&lt;\/ Directory&gt;<\/strong> <\/p>\n\n\n\n<p>Replace it with: <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7991\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-6\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-4.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-4.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-4.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7991\"\/><\/figure>\n\n\n\n<p><strong>&lt;Directory\n\u00ab\u00a0c: \\ OSGeo4W64 \\ apps \\ qgis-ltr \\ bin\u00a0\u00bb&gt;<\/strong> <br>\n<strong>SetHandler cgi-script<\/strong> <br>\n<strong>AllowOverride None<\/strong> <br>\n<strong>ExecCGI options<\/strong> <br>\n<strong>Order allow, deny<\/strong> <br>\n<strong>Allow from all<\/strong> <br>\n<strong>Require all granted<\/strong> <br>\n<strong>&lt;\/ Directory&gt;<\/strong> <\/p>\n\n\n\n<p><strong>3-Modify the cgi<\/strong> <strong>handler<\/strong><\/p>\n\n\n\n<p>Look for the line: <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7992\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-7\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-5.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-5.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-5.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7992\"\/><\/figure>\n\n\n\n<p><strong>#AddHandler\ncgi-script .cgi<\/strong> \n\nReplace it with \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7993\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-8\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-6.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-6.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-6.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7993\"\/><\/figure>\n\n\n\n<p><strong>AddHandler\ncgi-script .cgi .pl .exe<\/strong> <\/p>\n\n\n\n<p>(Note the absence of # at the beginning of the line) <\/p>\n\n\n\n<p><strong>4-Add a patch for Internet Explorer<\/strong> <\/p>\n\n\n\n<p>Copy the following lines to the end of the http.conf file <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7994\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-9\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-7.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-7.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-7.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7994\"\/><\/figure>\n\n\n\n<p><strong>#\nApparently this fixes an issue with Apache 2.4.6 on Windows hanging<\/strong> <br>\n<strong># when serving requests from Internet Explorer 10\/11.<\/strong> <br>\n<strong># see http:\/\/stijndewitt.wordpress.com\/2014\/01\/10\/apache-hangs-ie11\/<\/strong> <br>\n<strong>AcceptFilter http none<\/strong> <br>\n<strong>AcceptFilter https none<\/strong> <\/p>\n\n\n\n<p><strong>5-Add QGis server variables<\/strong> <\/p>\n\n\n\n<p>Copy the following lines at the end of the http.conf file <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7995\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-10\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-8.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-8.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-8.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7995\"\/><\/figure>\n\n\n\n<p><strong>SetEnv\nGDAL_DATA \u00ab\u00a0C: \\ OSGeo4W64 \\ share \\ gdal\u00a0\u00bb<\/strong> <br>\n<strong>SetEnv QGIS_AUTH_DB_DIR_PATH \u00ab\u00a0C: \\ OSGeo4W64 \\ apps \\ qgis-ltr \\\nresources\u00a0\u00bb<\/strong> <br>\n<strong>SetEnv PYTHONHOME \u00ab\u00a0C: \\ OSGeo4W64 \\ apps \\ Python27\u00a0\u00bb<\/strong> <br>\n<strong>SetEnv PATH \u00ab\u00a0C: \\ OSGeo4W64 \\ bin; C: \\ OSGeo4W64 \\ apps \\ qgis-ltr \\\nbin; C: \\ OSGeo4W64 \\ apps \\ grass \\ grass- @ grassversion @ \\ bin; C: \\\nOSGeo4W64 \\ apps \\ grass \\ grass &#8211; @ @ grassversion \\ lib; C: \\ WINDOWS \\\nsystem32; C: \\ WINDOWS; C: \\ WINDOWS \\ System32 \\ Wbem \u00ab\u00a0<\/strong> <br>\n<strong>SetEnv QGIS_PREFIX_PATH \u00ab\u00a0C: \\ OSGeo4W64 \\ apps \\ qgis-ltr\u00a0\u00bb<\/strong> <br>\n<strong>SetEnv QT_PLUGIN_PATH \u00ab\u00a0C: \\ OSGeo4W64 \\ apps \\ qgis-ltr \\ qtplugins; C:\n\\ OSGeo4W64 \\ apps \\ qt4 \\ plugins\u00a0\u00bb<\/strong> <\/p>\n\n\n\n<p><strong>6-Activate the rewrite module<\/strong> \n\nThis is necessary for the extended QGis WEB Client.\nCopy these lines at the end of the httpd.conf file \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7996\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-11\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-9.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-9.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-9.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7996\"\/><\/figure>\n\n\n\n<p>LoadModule\nrewrite_module modules \/ mod_rewrite.so <br>\nRewriteEngine On <br>\nRewriteRule ^ \/ proxy \/(.+)$ \/gisapp\/admin\/qgisproxy.php?map=$1.qgs [QSA, PT]\nRewriteRule ^ \/ gisapp \/([^\\.]+)$ \/gisapp\/index.php [ PT] <\/p>\n\n\n\n<p><strong>7-Test the installation<\/strong> \n\nYou must stop and restart the Apache service. If\nyou have just updated for Windows 10, be aware that the control panel has\ndisappeared permanently. To access the \u201cService\u201d window, you &nbsp;have to open the Windows menu (right click): &nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"162\" data-attachment-id=\"7997\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/127-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/127.png?fit=351%2C162&amp;ssl=1\" data-orig-size=\"351,162\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"127\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/127.png?fit=351%2C162&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/127.png?resize=351%2C162&#038;ssl=1\" alt=\"\" class=\"wp-image-7997\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/127.png?w=351&amp;ssl=1 351w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/127.png?resize=300%2C138&amp;ssl=1 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/figure>\n\n\n\n<p>In the <strong><em>run<\/em><\/strong> window enter <strong><em>control<\/em><\/strong> to have the <strong><em>setting\nup <\/em><\/strong>panel or <strong><em>services.msc<\/em><\/strong> to get the services window <strong><em>.<\/em><\/strong>\n\n\nIn the Control Panel -&gt; Administrative Tools\n-&gt; Services look for the <strong><em>ApachePHP EnterpriseDB<\/em><\/strong> service and <strong>Restart.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"475\" data-attachment-id=\"7998\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/128-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/128.png?fit=525%2C475&amp;ssl=1\" data-orig-size=\"525,475\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"128\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/128.png?fit=525%2C475&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/128.png?resize=525%2C475&#038;ssl=1\" alt=\"\" class=\"wp-image-7998\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/128.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/128.png?resize=300%2C271&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>To check that your QGis server is running, open your browser and enter\nthe following url (beware of the port number: here 8081 but on your\ninstallation it may be different) <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"7999\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-12\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-10.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-10.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-10.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-7999\"\/><\/figure>\n\n\n\n<p>http: \/\/\nlocalhost: 8081 \/ cgi-bin \/ qgis_mapserv.fcgi.exe SERVICE = WMS &amp; VERSION =\n1.3.0 &amp; REQUEST = GetCapabilities \n\nYou must have as return a page in XML style: \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"414\" data-attachment-id=\"8000\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/129-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/129.png?fit=525%2C414&amp;ssl=1\" data-orig-size=\"525,414\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"129\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/129.png?fit=525%2C414&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/129.png?resize=525%2C414&#038;ssl=1\" alt=\"\" class=\"wp-image-8000\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/129.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/129.png?resize=300%2C237&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>At last, we have finished setting up Apache. But the job is not\nfinished. In order to use QGis server, you must now install <strong>gisap<\/strong><strong>p<\/strong>, the server part of the QGis WEB\nclient. <\/p>\n\n\n\n<p><strong>How to install gisapp<\/strong> <\/p>\n\n\n\n<p>Download gisapp from the following link <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=https:\/\/github.com\/uprel\/gisapp\/releases\/latest\">https:\/\/github.com\/uprel\/gisapp\/releases\/latest<\/a> <\/p>\n\n\n\n<p>The downloaded directories and file must be copied to the Apache\ninstallation directory, in the www subdirectory: <\/p>\n\n\n\n<p><strong><em>C: \\ Program Files (x86) \\ PostgreSQL \\\nEnterpriseDB-ApachePHP \\ apache \\ www \\ gisapp<\/em><\/strong> <\/p>\n\n\n\n<p>if you have followed the facilities from the beginning of this article. <\/p>\n\n\n\n<p><strong>How to set up your PostgreSQL database<\/strong> <\/p>\n\n\n\n<p>You will need a PostgreSQL \/ Postgis database to store the QGis server\ndata. You can use an existing one, or create a specific one. For the rest of\nthis article we will use a database that we will call <strong><em>qgisserv.<\/em><\/strong> You\ncan also create the different users at this stage. If you do not know how to\ninstall PostgreSQL \/ Postgis on your computer, please refer to the article\n&nbsp; <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/debuter-avec-postgrespostgis\/\">http:\/\/www.sigterritoires.fr\/index.php\/debuter-avec-postgrespostgis\/<\/a>\n<a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/debuter-avec-postgrespostgis\/\">&nbsp;<\/a> . For creating and inserting data into\nyour database, refer to the article <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/debuter-avec-postgrsqlpostgis-introduction-a-pgadmin3\/\">http:\/\/www.sigterritoires.fr\/index.php\/debuter-avec-postgrsqlpostgis-introduction-a-pgadmin3\/.<\/a>\n<\/p>\n\n\n\n<p>To set up the database that you will use with the QGis server, with\npgAdmin 4, create a new database called <strong><em>qgisserver.<\/em><\/strong> <\/p>\n\n\n\n<p>Select this new base. Open an SQL window, then with the \u201cOpen a file\u201d\nbutton, &nbsp;load the <strong><em>C: \\ Program Files (x86) file \\ PostgreSQL \\\nEnterpriseDB-ApachePHP \\ apache \\ www \\ gisapp \\ _scripts \\ _setup.sql<\/em><\/strong> <\/p>\n\n\n\n<p>Run it. It&rsquo;s over for this step. <\/p>\n\n\n\n<p><strong>How to set up gisapp<\/strong> <\/p>\n\n\n\n<p><strong>1- Modification of the settings.php file<\/strong> <\/p>\n\n\n\n<p>Go to the directory. <strong><em>..apache \/ www \/ gisapp \/ admin<\/em><\/strong> <\/p>\n\n\n\n<p>Copy the <strong><em>settings_windows.php<\/em><\/strong> file to <strong><em>settings.php<\/em><\/strong>\n<\/p>\n\n\n\n<p>Open the file with notepad ++ (or another editor, but it must be able to\nmanage the administrative rights) <\/p>\n\n\n\n<p>You must modify this file to configure your installation: <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"8001\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-13\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-11.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-11.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-11.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-8001\"\/><\/figure>\n\n\n\n<p>&lt;? php <\/p>\n\n\n\n<p>\/ ** <br>\n* settings.php &#8211; part of Extended QGIS Web Client <br>\n* <br>\n* Copyright (2014-2015), Level2 team All rights reserved. <br>\n* More information at https:\/\/github.com\/uprel\/gisapp <br>\n* \/ <\/p>\n\n\n\n<p>\/\/ 2 letter language code defining language if not provided with url\nparamater lang <br>\n\/\/ language must be part of translations for EQWC <br>\ndefine (&lsquo;DEFAULT_LANG&rsquo;, &lsquo;en&rsquo;); <\/p>\n\n\n\n<p>\/\/ true loads source javascript files <br>\ndefine (&lsquo;DEBUG&rsquo;, false); <\/p>\n\n\n\n<p>\/\/ database connection <br>\ndefine (&lsquo;DB_CONN_STRING&rsquo;, &lsquo;pgsql: host = localhost; port = 5432; dbname =\ngisapp&rsquo;); <\/p>\n\n\n\n<p>\/\/ db user <br>\ndefine (&lsquo;DB_USER&rsquo;, &lsquo;username&rsquo;); <br>\ndefine (&lsquo;DB_PWD&rsquo;, &lsquo;password&rsquo;); <\/p>\n\n\n\n<p>\/\/ project rental <br>\ndefine (&lsquo;PROJECT_PATH&rsquo;, &lsquo;C: \/ Apache24 \/ apache \/ www \/ gisapp \/ _demo \/&rsquo;); <\/p>\n\n\n\n<p>\/\/ superuser, currently irrelevant <br>\ndefine (&lsquo;SUPERUSER&rsquo;, &lsquo;gisadmin&rsquo;); <\/p>\n\n\n\n<p>\/\/ qgis server, check your port, if you&rsquo;re using default port 80, then\nsimply go: \/ localhost \/ cgi-bin &#8230; <br>\ndefine (&lsquo;QGISSERVERURL&rsquo;, &lsquo;http: \/\/ localhost: 8080 \/ cgi-bin \/\nqgis_mapserv.fcgi.exe&rsquo;); <\/p>\n\n\n\n<p>\/\/ other settings <br>\ndefine (&lsquo;OGR2OGR&rsquo;, &lsquo;C: \/ OSGeo4W64 \/ bin \/ ogr2ogr&rsquo;); <br>\ndefine (&lsquo;TEMP_PATH&rsquo;, &lsquo;C: \/ Windows \/ Temp \/&rsquo;); <br>\ndefine (&lsquo;GISAPPURL&rsquo;, &lsquo;\/ gisapp \/&rsquo;); \/\/ for now this one should not change! <\/p>\n\n\n\n<p>The following is the modified file taking into account the installations\nand setting ups of this article. Check carefully that the different variables\ncorrespond to your installation (do not forget the apache port number) <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"8002\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/126-14\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-12.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"126\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-12.png?fit=50%2C50&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/126-12.png?resize=50%2C50&#038;ssl=1\" alt=\"\" class=\"wp-image-8002\"\/><\/figure>\n\n\n\n<p>&lt;? php\n<\/p>\n\n\n\n<p>\/ ** <br>\n* settings.php &#8211; part of Extended QGIS Web Client <br>\n* <br>\n* Copyright (2014-2015), Level2 team All rights reserved. <br>\n* More information at https:\/\/github.com\/uprel\/gisapp <br>\n* \/ <br>\n\/\/ 2 letter language code defining language if not provided with url paramater\nlang <br>\n\/\/ language must be part of translations for EQWC <br>\ndefine (&lsquo;DEFAULT_LANG&rsquo;, &lsquo;en&rsquo;); <br>\n\/\/ true loads source javascript files <br>\ndefine (&lsquo;DEBUG&rsquo;, false); <br>\n\/\/ database connection <br>\ndefine (&lsquo;DB_CONN_STRING&rsquo;, &lsquo;pgsql: host = localhost; port = 5433; dbname =\nqgiserv&rsquo;); <br>\n\/\/ db user <br>\ndefine (&lsquo;DB_USER&rsquo;, &lsquo;username&rsquo;); <br>\ndefine (&lsquo;DB_PWD&rsquo;, &lsquo;password&rsquo;); <br>\n\/\/ project rental <br>\ndefine (&lsquo;PROJECT_PATH&rsquo;, &lsquo;C: \/ Program Files (x86) \/ PostgreSQL \/ EnterpriseDB-ApachePHP\n\/ apache \/ www \/ gisapp \/ _demo \/&rsquo;); <br>\n\/\/ superuser, currently irrelevant <br>\ndefine (&lsquo;SUPERUSER&rsquo;, &lsquo;gisadmin&rsquo;); <br>\n\/\/ qgis server, check your port, if you&rsquo;re using default port 80, then simply\ngo: \/ localhost \/ cgi- bin &#8230; <br>\ndefine (&lsquo;QGISSERVERURL&rsquo;, &lsquo;http: \/\/ localhost: 8081 \/ cgi-bin \/\nqgis_mapserv.fcgi.exe&rsquo;); <br>\n\/\/ other settings <br>\ndefine (&lsquo;OGR2OGR&rsquo;, &lsquo;C: \/ OSGeo4W64 \/ bin \/ ogr2ogr&rsquo;); <br>\ndefine (&lsquo;TEMP_PATH&rsquo;, &lsquo;C: \/ Windows \/ Temp \/&rsquo;); <br>\ndefine (&lsquo;GISAPPURL&rsquo;, &lsquo;\/ gisapp \/&rsquo;); \/\/ for now this one should not change! <\/p>\n\n\n\n<p><strong>2-Final test<\/strong> <\/p>\n\n\n\n<p>Enter the following url in your browser<\/p>\n\n\n\n<p>http: \/\/ localhost: 8081 \/ gisapp \/ helloworld public = on &amp; lang =\nen <\/p>\n\n\n\n<p>(Make sure the port is the one you use) \n\nYou will obtain the following result: \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"205\" data-attachment-id=\"8003\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-install-qgis-server-in-windows-10\/attachment\/130\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/130.png?fit=300%2C205&amp;ssl=1\" data-orig-size=\"300,205\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"130\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/130.png?fit=300%2C205&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/02\/130.png?resize=300%2C205&#038;ssl=1\" alt=\"\" class=\"wp-image-8003\"\/><\/figure>\n\n\n\n<p>And, finally, just a tutorial of how to use QGis Server is all you need.\nGood luck! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to install QGis Server in a Windows computer, you will start a long road full of pitfalls. Firstly, 95% of the available documentation is to perform the installation with Linux. Secondly, WEB searches&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1260],"tags":[],"class_list":["post-7959","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-24n","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/7959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=7959"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/7959\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=7959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=7959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=7959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}