<div dir="ltr"><div dir="ltr">Hi Richard,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 20 avr. 2022 à 20:23, Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Harrissou,<br>
<br>
I think your pretty close :-)<br>
<br>
Some remarks from the times I installed on Windows:<br>
- I used a vanilla apache installer from <a href="https://www.apachelounge.com/" rel="noreferrer" target="_blank">https://www.apachelounge.com/</a><br>
- indeed used the httpd.conf from osgeo4w to set all paths and env vars, VERY convenient<br>
- are you sure the Qt vs qt is an issue? Thought Windows paths were not case sensitive?<br>
<br></blockquote><div>Probably not an issue, indeed. I must admit I didn't test, I "fixed" rigth away. I also had mitigated my "issue" comment in an updated version of the mail but I think I lost the changes while switching between firefox(gmail), thunderbird, k9-mail, on various machines.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The GDAL_DATA path you will need when you use for example the ECW or other drivers<br>
QGIS_AUTH_DB_DIR_PATH is maybe only needed when you have a project which uses authentication profiles? Others?<br>
<br></blockquote><div>So it could make sense to have them added to the default httpd_qgis.conf file...?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
When you have a WMS/WFS server running normally you do not have a web app yet.<br>
You either use the WMS of WFS as datasource in QGIS (or other clients)<br>
or you use OpenLayer/Leaflet to create an app in a browser using javascript.<br>
<br></blockquote><div>Ah OK... new world to discover but not enough time... I think I will first try the other suggested options (oapif, catalog, server development) and let you know.<br></div><div><br></div><div>Greetings,</div><div>Thanks.</div><div>Harrissou</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Alessandro also created a landing page for WFS3/OGC API:<br>
<a href="https://docs.qgis.org/3.22/en/docs/server_manual/services/ogcapif.html" rel="noreferrer" target="_blank">https://docs.qgis.org/3.22/en/docs/server_manual/services/ogcapif.html</a><br>
but I found that sometimes tricky to setup...<br>
<br>
Maybe others can share more info/experience<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<br>
<br>
<br>
<br>
On 4/20/22 18:58, Harrissou s. via QGIS-Developer wrote:<br>
> Hi QGISers (sorry for cross-posting)<br>
> <br>
> I'm trying to setup a QGIS Server... on Windows and I'd like to share some<br>
> suggestions/issues I faced in the process and ultimately ask for help on a<br>
> bigger issue.<br>
> I'm following the QGIS documentation instructions [0] and took the<br>
> opportunity to update the docs[1][2], given that osgeo4w provides means to<br>
> install apache. Review welcome, thanks.<br>
> <br>
> In the docs, it is suggested to add at the end of the httpd.conf file a<br>
> set of variables. But I notice that *most* of them are already set in the<br>
> httpd_qgis.conf file that is #included at the end of the httpd.conf file. I<br>
> hence ignored the addition but, Questions:<br>
> - are the GDAL_DATA and QGIS_AUTH_DB_DIR_PATH necessary for any purpose?<br>
> - If so, for what? And is it possible (does it make sense) to add them to the<br>
> httpd_qgis.conf file also?<br>
> <br>
> - Issue report: I think there is a typo in the httpd_qgis.conf file<br>
> setting PATH and QT_PLUGIN_PATH. It mentions apps/qt5/ while it should be<br>
> apps/Qt5/ (uppercase Q).<br>
> <br>
> In my process, I didn't set the gdal or db paths above, I fixed the<br>
> uppercase typo and when I tested I could get a reply for GetCapabilities as in<br>
> the docs. Using the QGIS training project, I could do a GetMap which successfully returned my map canvas image. Good! My server is OP!<br>
> Well, this is where I got lost. I thought the request would output in the<br>
> browser some image i could zoom in, pan, maybe identify... But NO, I got a<br>
> plain, static image. What am I supposed to do next? How can I make my<br>
> project queryable, zoomable, pannable, anythingable... in a web browser?<br>
> I might have overlooked, but the docs does not seem t provide any information for<br>
> newbies like me, for the next step. Where should I look now? Your help to<br>
> get out of this trouble would be much appreciated. Thanks.<br>
> <br>
> Regards,<br>
> Harrissou<br>
> <br>
> [0]<br>
> <a href="https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-windows" rel="noreferrer" target="_blank">https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-windows</a> <<a href="https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-windows" rel="noreferrer" target="_blank">https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-windows</a>><br>
> [1] reading:<br>
> <a href="https://github.com/DelazJ/QGIS-Documentation/blob/installQGISServerWindows/docs/server_manual/getting_started.rst" rel="noreferrer" target="_blank">https://github.com/DelazJ/QGIS-Documentation/blob/installQGISServerWindows/docs/server_manual/getting_started.rst</a> <<a href="https://github.com/DelazJ/QGIS-Documentation/blob/installQGISServerWindows/docs/server_manual/getting_started.rst" rel="noreferrer" target="_blank">https://github.com/DelazJ/QGIS-Documentation/blob/installQGISServerWindows/docs/server_manual/getting_started.rst</a>><br>
> [2] pull-request: <a href="https://github.com/qgis/QGIS-Documentation/pull/7508" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Documentation/pull/7508</a> <<a href="https://github.com/qgis/QGIS-Documentation/pull/7508" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Documentation/pull/7508</a>><br>
> <br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br>
</blockquote></div></div>