3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
249 stars 141 forks source link

[Question]: Lizmap Webclient "Forbidden You don't have permission to access this resource." Ubuntu 20.04 #3190

Closed AID-PMBD closed 1 year ago

AID-PMBD commented 1 year ago

What is the question?

After installing QGIS Server and the Lizmap Webclient I am encountering the error

Forbidden
You don't have permission to access this resource.

when trying to access http://serverIP/lizmap.

You can find a more detailed descriprion of the issue here:

https://gis.stackexchange.com/questions/439531/lizmap-forbidden-you-dont-have-permission-to-access-this-resource-ubuntu-20

I followed the insturctions from the documentaton to the letter. However it does not seem up to date as the config file for compression settings (/etc/apache2/conf-available/mod_deflate.conf) does not exist altough the deflate module is enabled in apache. Maybe some further steps are not up to date/missing and thats why the installation is not working?

Versions

Ubuntu 20.04 with php 7.4 and the current apache2 webserver
QGIS-Server in the current ltr version (3.22.10)
Lizmap Webclient 3.5.5 downloaded from github release and installed according to the instructions

Check Lizmap plugin

QGIS server version, only if the section above doesn't mention the QGIS Server version

3.22.10

Operating system

Ubuntu 20.04

Browsers

Firefox, Microsoft Edge

Browsers version

Firefox 104, Edge 104

Relevant log output

No response

AID-PMBD commented 1 year ago

Using sudo for every command in the instalation documentation solved this issue for me.