https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-03-24T12:54:45ZQGIS Issue TrackingQGIS Application - Bug report #12442: QGIS Server 2.8.1 does not work anymore under Windowshttps://issues.qgis.org/issues/12442?journal_id=601462015-03-24T12:54:45ZJürgen Fischerjef@norbit.de
<ul><li><strong>Resolution</strong> set to <i>invalid</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Set <code>PYTHONHOME</code> to <code>%OSGEO4W_ROOT%/apps/python27</code></p> QGIS Application - Bug report #12442: QGIS Server 2.8.1 does not work anymore under Windowshttps://issues.qgis.org/issues/12442?journal_id=601502015-03-24T23:07:37ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Jürgen Fischer wrote:</p>
<blockquote>
<p>Set <code>PYTHONHOME</code> to <code>%OSGEO4W_ROOT%/apps/python27</code></p>
</blockquote>
<p>ok it worked, but the apache configuration file will be updated in the osgeo4w installer or is something that will be needed to always do manually? cheers!</p> QGIS Application - Bug report #12442: QGIS Server 2.8.1 does not work anymore under Windowshttps://issues.qgis.org/issues/12442?journal_id=601532015-03-24T23:53:53ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Note for others who may encounter this issue.</p>
<p>The line to add is</p>
<p>DefaultInitEnv PYTHONHOME "C:/OSGeo4W/apps/python27"</p>
<p>in</p>
<p>c:\\osgeo4w\\httpd.d\\httpd_qgis.conf</p>