<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <pre class="part" data-startline="325" data-endline="328"><code>Olá Duarte,

Não uso o nginx, mas passo-te a minha cábula de instalar o Lizmap sobre o Apache. Penso que a questão dos paths é semelhante.

Na instalação standard, deixo o cliente disponível em:

<a class="moz-txt-link-freetext" href="http://xxx/lizmap/lizmap/www/">http://xxx/lizmap/lizmap/www/</a>
</code><pre><code>Se quiseres ver uma instância, com um URL deste género, espreita o lizmap da DROTA, em <a class="moz-txt-link-freetext" href="http://gismar.eu/lizmap/lizmap/www/">http://gismar.eu/lizmap/lizmap/www/</a>
</code></pre><code></code></pre>
    <pre>Na configuração do Apache uso:</pre>
    <pre class="part" data-startline="314" data-endline="321"><pre><code>  Alias /lizmap/ "/var/www/lizmap/"
  <Directory "/var/www/lizmap/">
      Order allow,deny
      Allow from all
      Require all granted
  </Directory></code></pre><pre><code></code></pre><pre><code>Para a instalação uso:</code></pre><pre><code></code></pre><pre><code></code><code>sudo mkdir -p /var/www/lizmap
sudo chown qgis:qgis /var/www/lizmap
cd /tmp
wget <a class="moz-txt-link-freetext" href="https://github.com/3liz/lizmap-web-client/releases/download/3.3.4/lizmap-web-client-3.3.4.zip">https://github.com/3liz/lizmap-web-client/releases/download/3.3.4/lizmap-web-client-3.3.4.zip</a>
unzip lizmap-web-client-3.3.4.zip
sudo mv lizmap-web-client-3.3.4 /var/www
cd /var/www
sudo ln -s lizmap-web-client-3.3.4 lizmap
chown -R qgis:qgis lizmap-web-client-3.3.4

cd lizmap
cd lizmap/var/config
cp lizmapConfig.ini.php.dist lizmapConfig.ini.php
cp localconfig.ini.php.dist localconfig.ini.php
cp profiles.ini.php.dist profiles.ini.php

vi lizmapConfig.ini.php
wmsServerURL=<a class="moz-txt-link-rfc2396E" href="http://xxx/cgi-bin/qgis_mapserv.fcgi">"http://xxx/cgi-bin/qgis_mapserv.fcgi"</a>

cd ../../..
sudo lizmap/install/set_rights.sh
sudo chown -R www-data:www-data .

sudo chown www-data:www-data /var/www/lizmap-web-client-3.3.4
# php lizmap/install/installer.php

sudo chmod a+rwx /var/www/lizmap-web-client-3.3.4/temp/lizmap/
sudo chmod a+rw /var/www/lizmap-web-client-3.3.4/lizmap/var/config/localconfig.ini.php

php lizmap/install/installer.php

sudo systemctl restart apache2

Espero que ajude.

Abraço,

Jorge Gustavo
 
</code></pre><code></code></pre>
    <div class="moz-cite-prefix">On 25/05/20 16:28, duartecarreira
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1590420503580-0.post@n6.nabble.com">
      <pre class="moz-quote-pre" wrap="">Rui, é o que pensei... a não ser que o lizmap (ou nginx) faça algum
processamento de paths, por ex., reencaminhe para a root quando não encontra
o /servidor/lizmap/index.php?blabla, por exemplo passando a processar
/servidor/index.php/lizmap?blabla ??



--
Sent from: <a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/QGIS-pt-f5128248.html">http://osgeo-org.1560.x6.nabble.com/QGIS-pt-f5128248.html</a>
_______________________________________________
QGIS-pt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-pt@lists.osgeo.org">QGIS-pt@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-pt">https://lists.osgeo.org/mailman/listinfo/qgis-pt</a>
</pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <title>Email Signature</title>
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <table style="width: 525px; font-size: 11pt; font-family: Arial,
        sans-serif;" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td style="text-align:center; font-size: 10pt; font-family:
              Arial, sans-serif; border-right: 1px solid;
              border-right-color: #fb6303; width: 125px; padding-right:
              10px; vertical-align: top;" rowspan="6" width="125"
              valign="top"> <a href="https://www.geomaster.pt"
                target="_blank"><img alt="Logo" style="width:105px;
                  height:auto; border:0;"
src="https://geomaster.pt/wp-content/uploads/2017/02/cropped-geomaster300x300-1.png"
                  width="85" border="0"></a> </td>
            <td style="padding-left:10px">
              <table cellspacing="0" cellpadding="0">
                <tbody>
                  <tr>
                    <td style="font-size: 10pt; color:#0079ac;
                      font-family: Arial, sans-serif; width: 400px;
                      padding-bottom: 5px; padding-left: 10px;
                      vertical-align: top;" valign="top"> <strong><span
                          style="font-size: 14pt; font-family: Arial,
                          sans-serif; color:#fb6303;">Geomaster</span></strong><br>
                      <strong><span style="font-size: 11pt; font-family:
                          Arial, sans-serif; color:black;">Jorge Gustavo
                          Rocha</span></strong> <span
                        style="font-family: Arial, sans-serif;
                        font-size:11pt; color:#000000;"><span
                          style="padding-right: 5px; padding-left: 5px;">
                          | </span>Software Engineer</span> </td>
                  </tr>
                  <tr>
                    <td style="font-size: 10pt; color:#444444;
                      font-family: Arial, sans-serif; padding-bottom:
                      5px; padding-top: 5px; padding-left: 10px;
                      vertical-align: top; line-height:17px;"
                      valign="top"> <span><span style="color: #fb6303;"><strong>e:</strong></span><span
                          style="font-size: 10pt; font-family: Arial,
                          sans-serif; color:#000000;"> <a class="moz-txt-link-abbreviated" href="mailto:jgr@geomaster.pt">jgr@geomaster.pt</a></span></span>
                      <span><span style="padding-left:
                          5px;padding-right: 5px;"> | </span><span
                          style="color: #fb6303;"><strong>m:</strong></span><span
                          style="font-size: 10pt; font-family: Arial,
                          sans-serif; color:#000000;"> +351 910 333 888<br>
                        </span></span> <span><span style="color:
                          #fb6303;"><strong>g:</strong></span><span
                          style="font-size: 10pt; font-family: Arial,
                          sans-serif; color:#000000;"> 41.54094,-8.40490</span></span>
                      <span><span style="padding-left:
                          7px;padding-right: 5px;"> | </span><span
                          style="color: #fb6303;"><strong>v: </strong></span><span
                          style="font-size: 10pt; font-family: Arial,
                          sans-serif; color:#000000; padding-left: 7px;">
                          510 906 109<br>
                        </span></span> <span> <span style="color:
                          #fb6303;"><strong>a: </strong></span> </span>
                      <span> <span style="font-size: 10pt; font-family:
                          Arial, sans-serif; color: #000000;"><span> </span>Rua
                          António Cândido Pinto, 67, 4715-400 Braga<br>
                        </span></span> </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>