<div dir="auto"><div>Laurent and list,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 27, 2023, 09:09 celati Laurent via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Good afternoon,</div>Following to my previous message, I'm sharing my error. I am unable to serve a project containing postgis tables. For a first test, I'm just trying to serve one of the tables contained in my project. Here is the URL that I defined and tested. I tried to define max and min coordinates (BBOX) in the spatial reference system in 2154 (Lambert 93).<br><br><i> <span style="background-color:rgb(204,204,204)"><a href="http://SERVEUR/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/projects/cigeo_forages.qgs&LAYERS=Cigeo_Zios_Po&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:2154&WIDTH=400&HEIGHT=200&BBOX=865347.7454,6820554.3899,886533.8979,6833234.8104" target="_blank" rel="noreferrer">http://SERVEUR/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/projects/cigeo_forages.qgs&LAYERS=Cigeo_Zios_Po&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:2154&WIDTH=400&HEIGHT=200&BBOX=865347.7454,6820554.3899,886533.8979,6833234.8104</a></span></i><div><br>Please read below the error message : Internal Server Error<br><br><i style="background-color:rgb(204,204,204)">The server encountered an internal error or misconfiguration and was unable to complete your request.<br>Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.<br>More information about this error may be available in the server error log.</i><br>If someone has any idea? To be complete, since the beginning of my tests, I have never had a log file generated in /var/log/qgis...This folder has been always remained empty<br></div><div>Thanks a lot.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Anything interesting in the PostgreSQL log file? Or syslog?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 27 mars 2023 à 11:48, celati Laurent <<a href="mailto:laurent.celati@gmail.com" target="_blank" rel="noreferrer">laurent.celati@gmail.com</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"><div dir="ltr">Good morning,<br>I have just (finally) validated the installation of Qgis server on our Debian server.<br>I manage to serve/broadcast the .qgs project and the data made available by the community (world.qgs project). These are shp files.<br>In parallel with the installation of Lizmap or QWC2, I would like to test this time the fact to serve of qgis projects containing postgis tables from our database. How to do this ? Especially for the definition of the URL? How to define in the URL the sources of the postgis tables? The URL notably has a LAYERS&...<br>How for example to publish all the postgis tables contained in a project, without having to specify each of them in the URL?<br>Thank you so much.<br></div>
</blockquote></div>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div></div></div>