Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [thredds] ProxyPass and Godiva2 link

  • To: Mike McCann <mccann@xxxxxxxxx>
  • Subject: Re: [thredds] ProxyPass and Godiva2 link
  • From: Christian Ward-Garrison <cwardgar@xxxxxxxx>
  • Date: Tue, 27 Jan 2015 20:15:52 -0700
Can't you just change the port you're assigning to Tomcat? [1]

[1]
http://stackoverflow.com/questions/4756039/how-to-change-the-port-of-tomcat-from-8080-to-80

On Tue, Jan 27, 2015 at 7:26 PM, Mike McCann <mccann@xxxxxxxxx> wrote:

>
> Yes. I want to remove ":8080" from the url.
>
> -Mike
>
> On Jan 27, 2015, at 5:30 PM, Christian Ward-Garrison <cwardgar@xxxxxxxx>
> wrote:
>
> I'm confused about what you're doing with ProxyPass. Are you just using it
> to remap the requested port?
>
> e.g. http://stoqs.mbari.org:80/thredds/catalog.html  -->
> http://stoqs.mbari.org:8080/thredds/catalog.html
>
> On Wed, Jan 21, 2015 at 12:28 PM, Mike McCann <mccann@xxxxxxxxx> wrote:
>
>> Apologies. When I sent this email a few weeks ago the stoqs.mbari.org
>> server was behind a firewall. It's opened up now.
>>
>> Is there some configuration file I can adjust to have TDS generate url
>> arguments without the ':8080'?
>>
>> -Mike
>>
>> On Jan 8, 2015, at 3:11 PM, Mike McCann <mccann@xxxxxxxxx> wrote:
>>
>> > Hello,
>> >
>> > I've set up a TDS with a ProxyPass to use port 80 and it all works fine
>> except for the Viewer links which use the :8080 url in arguments of the
>> url, see:
>> >
>> >
>> http://stoqs.mbari.org/thredds/catalog/terrain/catalog.html?dataset=terrain/Globe_2min_bath.nc
>> >
>> > Clicking on the "Godiva2 (browser-based)" link gives a "Invalid JSON
>> returned from server" alert. Developer tools shows this error:
>> >
>> >       XMLHttpRequest cannot load
>> http://stoqs.mbari.org:8080/thredds/wms/terrain/Globe_2min_bath.nc?item=menu&menu=&request=GetMetadata.
>> No 'Access-Control-Allow-Origin' header is present on the requested
>> resource. Origin 'http://stoqs.mbari.org' is therefore not allowed
>> access.
>> >
>> > It seems to me that if the url could be constructed using the ProxyPass
>> address then I wouldn't be getting this error.
>> >
>> > How can I configure my server to use urls without ":8080"?
>> >
>> > -Mike
>> >
>> > --
>> > Mike McCann
>> > Software Engineer
>> > Monterey Bay Aquarium Research Institute
>> > 7700 Sandholdt Road
>> > Moss Landing, CA 95039-9644
>> > Voice: 831.775.1769  Fax: 831.775.1736 http://www.mbari.org
>> >
>> > _______________________________________________
>> > thredds mailing list
>> > thredds@xxxxxxxxxxxxxxxx
>> > For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>> _______________________________________________
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>>
>
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: