<div dir="ltr"><div class="gmail-vote">
        <span class="gmail-vote-count-post">Hi, <br><br></span></div><div class="gmail-vote"><span class="gmail-vote-count-post">I am new on the list, and also new lizmap user. <br></span></div><div class="gmail-vote"><a href="http://gis.stackexchange.com/questions/223546/lizmap-web-service-installation-custom-port-8001#" class="gmail-star-off" title="Click to mark as favorite question (click again to undo)"></a>
        


</div>

            
            

<div>
    <div class="gmail-post-text">

<p>I installed lizmap on my server. The service works fine and the project is accessible on port 8001 (the url looks like: <a rel="nofollow noreferrer" href="http://myserver:8001/lizmap/www/index.php/view/map/">http://myserver:8001/lizmap/www/index.php/view/map/</a>)</p>

<p>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</p><p>generated url is <a rel="nofollow noreferrer" href="http:///myserver/lizmap/www/index.php/view/media/getMedia?repository=myrepository&project=myproject&path=media%2Fitworks.png">http:///myserver/lizmap/www/index.php/view/media/getMedia?repository=myrepository&project=myproject&path=media%2Fitworks.png</a> <br></p><p>while the correct link would be <a rel="nofollow noreferrer" href="http:///myserver:8001/lizmap/www/index.php/view/media/getMedia?repository=myrepository&project=myproject&path=media%2Fitworks.png">http:///myserver:8001/lizmap/www/index.php/view/media/getMedia?repository=myrepository&project=myproject&path=media%2Fitworks.png</a></p>

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

<p>Any idea will be welcome...</p><p><br></p><p>Naomi<br></p>
    </div></div></div>