This document has the following sections:
The File Alias page allows you to define pointers from requested filenames to filenames on your machine.
For example, suppose you are developing a set of web pages, and you want
a quick way to access them without having to enter long URLs. If your machine
is named nightsky
and your user name is galileo
, and
one of the files you wanted to access was moon.html
:
The real path might be:
doc_root/galileo/march97/planets/visible/moon.html
The URL would then be:
http://nightsky:8080/galileo/march97/planets/visible/moon.html
To shorten it, you could use the following alias settings:
Alias Pathname:/shortcut
Full Pathname:/~galileo/march97/planets/visible
Now to connect to the file moon.html using the alias, type the following URL:
http://nightsky:8080/shortcut/moon.html
Full Pathname
The actual pathname for the files you are using. Note that the files are
relative to the document root (which is specified in the site setup screen),
unless they are specified as absolute paths. For example, tmp
would refer to doc_root/tmp
, while /tmp
would refer to
/tmp
.
Procedures
Note: If you Add, Modify, or Remove an alias pathname, you must Save before the changes take affect.
Top java-server-feedback@java.sun.com |
Copyright © 1997
Sun Microsystems, Inc. All Rights Reserved. |