Lizmap-web-client: lizmap server - using custom port/url - troubles with links to the media directory

Created on 6 Jan 2017  路  1Comment  路  Source: 3liz/lizmap-web-client

Hi,

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

However there is one problem setting the links to the media directory: the link to the media content which is automatically generated by lizmap does not includes the ":8001" part of the url

Example:
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.

bug

Most helpful comment

Fixed in 1c9a5f6

>All comments

Fixed in 1c9a5f6

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robibrazze picture robibrazze  路  5Comments

jaitor1 picture jaitor1  路  4Comments

FPaulsen picture FPaulsen  路  13Comments

t0xycus picture t0xycus  路  7Comments

pcav picture pcav  路  5Comments