Jachym Cepicky wrote:
> Hallo,
> 
> we have our with p.mapper behind router, where we use Apache2 to for
> redirecting requests to it.
> 
> Configuration of the router looks like this:
> 
> <VirtualHost mapserver.mendelu.cz>
>     ServerName mapserver.mendelu.cz
> 
>     # redirection to p.mapper server
>     ProxyPass /slp http://172.16.38.110/
>     ProxyPassReverse /slp http://172.16.38.110/
> 
> </VirtualHost>
> 
> It works, as you can see on address
> http://mapserver.mendelu.cz/slp/map.phtml but no map appears and no
> message appears in the Appache log.
> 
> When I try to access the server directly from local network, it works
> like a charm. Could you tell me, where the problem could be?


I don't know much about proxy and reverse proxy settings, but do you 
also have a proxy pass set for the tmp directory where the map image is 
created (the one defined in the map file for IMAGEURL)?

> 
> Second problem seams to be bug in p.mapper: if the server's firewall is
> configured, that it redirects every request from port 8080 to server
> with p.mapper (so http://mapserver.mendelu.cz:8080/ -> http://172.16.38.110/)
> everything works well, but "Link to current map" points to
> http://mapserver.mendelu.cz8080/map?dg=false&me=-605769...... 
>                          __^__ -> the ":" is missing

I'm quitre sure I never tested on another port than 80... You can modify 
the file xmlhttp.js after line 192

var port = loc.port > 0 ? ':' + loc.port : '';
var linkhref = loc.protocol + '//' + loc.hostname + port + loc.pathname 
+ '?dg=' + dg + '&me=' + me + '&language=' + gLanguage + confpar + 
urlPntStrPar;

armin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to