[Qgis-user] lizmap server - using custom port/url

Nao mI nmazzilli at gmail.com
Fri Jan 6 07:53:09 PST 2017


 Hi,

I am new on the list, and also new lizmap user.
<http://gis.stackexchange.com/questions/223546/lizmap-web-service-installation-custom-port-8001#>

I installed lizmap on my server. The service works fine and the project is
accessible on port 8001 (the url looks like:
http://myserver:8001/lizmap/www/index.php/view/map/)

However I am in trouble setting the links to the media directory. I made
the media directory as proposed by the lizmap installation guide. Problem
is, the link to the media content which is automatically generated by
lizmap does not includes the ":8001" part of the url

generated url is
http:///myserver/lizmap/www/index.php/view/media/getMedia?repository=myrepository&project=myproject&path=media%2Fitworks.png

while the correct link would be
http:///myserver:8001/lizmap/www/index.php/view/media/getMedia?repository=myrepository&project=myproject&path=media%2Fitworks.png

I went through the lizmap configuration files, changed the basePath as
proposed in mainConfig.ini.php, but with no success.

Any idea will be welcome...


Naomi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170106/5b6ff3b7/attachment.html>


More information about the Qgis-user mailing list