NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
I'm running an apache httpd server on port 80 and have configured a ProxyPass like this in httpd.conf: <VirtualHost *:80> ServerName stoqs.mbari.org DocumentRoot /var/www/html <Location /thredds> ProxyPass http://stoqs.mbari.org:8080/thredds ProxyPassReverse http://stoqs.mbari.org:8080/thredds </Location> </VirtualHost> Is there some place in the TDS configuration to tell it to use the proxy? -Mike On Jan 27, 2015, at 7:59 PM, Mike McCann <mccann@xxxxxxxxx> wrote: > I tried that and am still getting the same error with the "Godiva2 > (browser-based)" link. > > -Mike > > On Jan 27, 2015, at 7:15 PM, Christian Ward-Garrison <cwardgar@xxxxxxxx> > wrote: > >> 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/ >>> >>> >> >
thredds
archives: