Proxy reference not working?

For discussion of LizardTech's software for distributing MrSID and JPEG 2000 imagery.

Moderator: jskiffington

Proxy reference not working?

Postby myopic » Thu Mar 25, 2010 3:20 pm

Has anyone been able to get his to work ..
With WMS I can getCapabilities and getMap via a proxyserver.. however in the WMS Capabilities doc itself, it does not give the proxy in this line..

<DCPType><h_t_t_p><Get>
<OnlineResource xlink:href="h_t_t_p://computername_instead_of_proxy_name_returned/lizardtech/iserv/ows" xlink:type="simple"/>
</Get></h_t_t_p></DCPType>


in the cat-cfg.xml I have the following entries

<Property name="wms-onlineresource">h_t_t_p://proxyserver/lizardtech/iserv/ows?service=wms</Property>

<Property name="iserv-response-hostport">proxyserver:80</Property>



Any Suggestions?

Many thanks,
M
myopic
 
Posts: 8
Joined: Tue May 27, 2008 10:44 am

Postby rparker » Thu Mar 25, 2010 3:26 pm

The Express Server dynamically generates a capabilities document in response to each GetCapabilities request, unless the file ImageServer/var/wms.capabilities.xml exists.

If this file exists, then it will be sent as a response to the GetCapabilities request.

So you can essentially edit your capabilities document and save it as ../ImageServer/var/wms.capabilities.xml returning the proxy host as you desire.
rparker
 
Posts: 237
Joined: Tue Jan 15, 2008 3:20 pm
Location: LizardTech

Postby myopic » Thu Mar 25, 2010 3:29 pm

Thanks for your reply Robert.
I was hoping to avoid having to maintain a static capabilities file. I just thought that if those settings were in the cat-cfg then there wouldn't be a need for a static file.

Thanks again..
myopic
 
Posts: 8
Joined: Tue May 27, 2008 10:44 am


Return to Express Server

Who is online

Users browsing this forum: No registered users and 1 guest

cron