Wiki Testing/ServerInstallationGuide5: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
After a dataset has been installed, and the handler programs installed,
After a dataset has been installed, and the handler programs installed,
you need to know what its address is.  If you've tested the web server
you need to know what its address is.  If you've tested the web server
installation as in ([http://www <cite> dods-server,install</cite>]), you know the
installation as in ([[Wiki_Testing/ServerInstallationGuide2 | Chapter2]]), you know the
beginning of the URLs that will point to data at your site.
beginning of the URLs that will point to data at your site.


(If you're using the DRDS Java server, see ([http://www <cite> server,drds,done</cite>]).)
(If you're using the DRDS Java server, see ([[Wiki_Testing/ServerInstallationGuide4 | Section 4.3.3]]).)


\subj{How do you address the data you just installed?}
Suppose your web server's document root is at:
Suppose your web server's document root is at:


Line 21: Line 21:
</pre>
</pre>


Following the test URL in ([http://www <cite> dods-server,install</cite>]), this would
Following the test URL in ([[Wiki_Testing/ServerInstallationGuide2 | Chapter2]]), this would
be the URL to use in a client.
be the URL to use in a client.


Line 30: Line 30:
Note that this URL will work for a DAP client, but not for a standard
Note that this URL will work for a DAP client, but not for a standard
web browser. If you want to use a standard web browser to test your
web browser. If you want to use a standard web browser to test your
installation, read on, and also take a look at \DODSquick . See note
installation, read on, and also take a look at [http://docs.opendap.org/index.php/QuickStart <cite>The OPeNDAP QuickStart Guide</cite>] . See note
\texorhtml{on page
  \pageref{note,dispatch-name}}{(note,dispatch-name)}.




Line 41: Line 39:
of the the data objects dictionary contained the following
of the the data objects dictionary contained the following
definitions:
definitions:
\subj{The situation is slightly different for JGOFS data.}
 
<pre>
<pre>
test0=def(/var/www/html/data/test0.data)
test0=def(/var/www/html/data/test0.data)

Latest revision as of 13:27, 4 January 2008

Constructing the URL

After a dataset has been installed, and the handler programs installed, you need to know what its address is. If you've tested the web server installation as in ( Chapter2), you know the beginning of the URLs that will point to data at your site.

(If you're using the DRDS Java server, see ( Section 4.3.3).)


Suppose your web server's document root is at:

/var/www/html/

And you are serving netCDF data that you've stored at:

/var/www/html/datasets/atlantic/cooldata.nc

Following the test URL in ( Chapter2), this would be the URL to use in a client.

http://yourmachine/cgi-bin/nph-dods/datasets/atlantic/cooldata.nc

Note that this URL will work for a DAP client, but not for a standard web browser. If you want to use a standard web browser to test your installation, read on, and also take a look at The OPeNDAP QuickStart Guide . See note


Constructing a OPeNDAP/JGOFS URL

Suppose that you have installed the OPeNDAP/JGOFS handler, as described above, on the machine test.opendap.org. And a partial listing of the the data objects dictionary contained the following definitions:

test0=def(/var/www/html/data/test0.data)
s87_xbt=def(/var/www/html/data/xbt.catalog)
s87_ctd=def(/var/www/html/data/ctd.catalog)
htf=autoedges(/fronts/hatteras-to-florida/edges)
htn=autoedges(/fronts/hatteras-to-nova-scotia/edges)
glk=autoedges(/fronts/great-lakes/edges)

A URL that references the data object 's87_xbt' would look like:

http://test.opendap.org/cgi-bin/nph-dods/s87_xbt