[Thread Prev][Thread Next][Index]

Re: [las_users] Proxy Howto for LAS?



Hi,

Russell N. Price wrote:
Hello,

Would someone please point me to a HOWTO on setting up a rule set for a proxy to a LAS server? I'm having a few problems, so I must be missing some important details:

1) maps aren't available to the user outside of the
   firewall because the URL embedded in the HTML
   document refers to the real server and not the proxy.
What version of LAS are you running? It looks like a version 6 or earlier server (given the LASserver.pl name below). If that's the case, chances are the issues with the URL's to the image have to do with what ends up the the mySQL database that drives your server.

Check the value of the url in the <operations> element in your las.xml file.

<operations url="http://stout.pmel.noaa.gov/las-bin/LASserver.pl";>

This URL should be the proxy. If it is, you also need to get that URL into the mySQL database by running the genLas.pl script.

cd las/server
../xml/perl/genLas.pl las.xml

This value lives in the the Config table of the mySQL database for the each LAS. If you feel like digging around, use the "map" table in the "las" database to find the database name associated with the las.xml file in question and then use that database (e.g. las0) and look at the values in the Config table to see if the URL has the proxy value or the real server.

2) NetCDF output requests result in a "Proxy Error" message
   (proxy server could not handle the request GET
    /las-bin/LASserver.pl).
Do you have the script aliases set up in the Apache configuration file?

This is my Apache set up for a v6 server.

   ProxyPass /las/ http://stout.pmel.noaa.gov:8080/las/
   ProxyPassReverse /las/ http://stout.pmel.noaa.gov:8080/las/
   RedirectPermanent /las http://stout.pmel.noaa.gov/las/servlets/dataset

   ScriptAlias  /las-bin/ /var/www/html/las/server/
   Alias /las-output/ /var/www/html/las/server/output/


I'm required by law to beg you to upgrade to LAS Armstrong 1.1.1.

Roland



Thanks in advance,

Russell



[Thread Prev][Thread Next][Index]


Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement