Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Testing the HTTP service

About testing the HTTP service  Top

You can test the HTTP service to ensure that it is working correctly. You test the service by accessing a sample file you create in the directory designated as root for the HTTP service. If you are able to access the file by entering the appropriate URL in a Web browser, you have successfully enabled the HTTP service.

If you specify a directory name instead of the file name in the URL, the filer looks for the following files in the specified directory in the following order:

If these files do not exist, the filer generates an HTML version of the directory listing for that directory.

Testing the service  Top

To test the HTTP service, complete the following steps.

Step

Action

1

Create an HTML file in the root directory for HTTP.

Example:

If the HTML root directory is /vol/vol0/home/users/pages, create a file named myfile.html in the root directory.

2

Start a Web browser on a client and specify the URL of the HTML file in the browser.

Example:

If your filer is toaster and the root directory for HTTP is /vol/vol0/home/users/pages, you use this URL:

http://toaster/myfile.html

The path component of the URL is a path name relative to the HTTP root. Do not specify the complete path name to the file in the URL.

If you have set up the HTTP service correctly, you will see the contents of myfile.html.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments