[Mapserver-users] Cascading WMS Problem

Daniel Morissette morissette at dmsolutions.ca
Wed Nov 12 16:53:01 EST 2003


andreas.mueller at bfua.de wrote:
> Hi Daniel,
> 
> after talking to one of the admins of the "Geoserver (c)" we could solve our problem. He 
> recommended me to talk to one Norbert Schauerte who has had the same problem that 
> we have. During our talk and after checking the mailing list I found out that YOU had 
> already solved the problem!
> 
> The "Geoserver(c)" expects the HTTP User Agent to be "MSIE..." or "Mozilla...".
> 
> You wrote:
> 
>>I find it really odd that a WMS server would cehck the user agents 
>>before responding to client requests, but anyway, there is apparently a 
>>way to control the user agent value with Libcurl.  If you can build from 
>>source, then you could add the following line to maphttp.c around line 
>>339, just after the line that sets CURLOPT_URL:
>>
>>  curl_easy_setopt(http_handle, CURLOPT_USERAGENT, "whatever you want");
>>
>>Daniel
> 
> 


Thanks for the update.  I should have thought that it was the same issue 
but I didn't make the link... Duh!  Let's hope they fix their server 
soon, in the meantime I have marked the bug as WONTFIX.

I'll CC this to the list in case anyone runs into the same thing.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list