Chapter 3

Configuring HTTP on the Filer

HTTP configuration information

About this chapter

This chapter contains instructions for configuring the filer to provide HTTP service. If you purchased a license for the HTTP protocol, follow the instructions in this chapter to configure HTTP service; otherwise, continue with Chapter 4, "Setting Up Password and Group Files."

Prerequisites

Before configuring the filer to provide HTTP service, you must decide which directory path that the filer uses as the home directory for files to be accessed by HTTP clients.

The path name for the directory uses the following format:

/vol/volume_name/directory_name

For example, to use the /home/html_files directory path on the vol0 volume, you use the following path:

/vol/vol0/home/html_files

Procedure

Complete these steps to configure HTTP service.

Step Action
1 At the filer console, enter the following command to enable the HTTP daemon:
options httpd.enable on
2 Use the following command syntax to specify the root of the path that HTTP requests can use:
options httpd.rootdir pathname
For example, if you want HTTP clients to gain access to files or subdirectories under /vol0/home/html_files, enter
options httpd.rootdir /vol/vol0/home/html_files
When Web browsers request files using HTTP, the filer delivers the files using the root directory. For example, if a browser requests the URL http://toaster/demo/index.htm, the filer sends the file /vol0/home/html_files/demo/index.htm.

Results

The filer is configured to respond to requests from Web browsers.


Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02343
File: http.htm
Last updated: 02/25/99 17:35:02