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/
>
>