Not considering the service_page_url and legend_url MapService methods to be relative URL, we would have trouble when the mapshader domain be http://localhost/mapshader, where in the services page we will have href like http://localhost/tile instead of http://localhost/mapshader/tile.
Not considering the
service_page_urlandlegend_urlMapServicemethods to be relative URL, we would have trouble when the mapshader domain behttp://localhost/mapshader, where in the services page we will have href likehttp://localhost/tileinstead ofhttp://localhost/mapshader/tile.