Table of ContentsView in Frames

Testing the Data ONTAP HTTP server

To confirm that the HTTP server that is built into Data ONTAP is working, you can copy an HTML file into the HTTP server's root directory and then access the file from a web browser. You can also access the HTTP server's root directory (or a subdirectory of the HTTP server's root directory) directly from a web browser.

Steps

  1. Copy an HTML file into the HTTP server's root directory.
  2. From a web browser running on a separate system, access the file you copied into the HTTP server's root directory.
    The URL is http://www.hostname.com/myfile.html, where hostname is the host name of the storage system and myfile.html is the name of the file you copied into the HTTP server's root directory. You should see the contents of the file.
  3. Optionally access the HTTP server's root directory (or a subdirectory of the HTTP server's root directory) directly from a web browser running on a separate client.
    The URL is http://www.hostname.com, where hostname is the host name of the storage system.

    The HTTP server looks for the following files in the following order in the directory that you specify:

    1. index.html
    2. default.htm
    3. index.htm
    4. default.html

    If none of these files exists, the storage system automatically generates an HTML version of the directory listing for that directory (if the httpd.autoindex.enable option is on) or responds with the “403” (forbidden) error code (if the httpd.autoindex.enable option is off). For more information about the httpd.autoindex.enable option, see the na_options(1) man page.