Edit URL Forwarding

Use this page to redirect document requests to another server. Forwarding URLs or redirection is a method for the server to tell a user that a URL has changed (for example, because you have moved files to another directory or server). You can also use redirection to seamlessly send a person who requests a document on one server to a document on another server.

The following table describes the fields and buttons on the page. The left column lists the fields and buttons; the right column describes the functionality.

Field or Button
Description

URL Prefix

Specifies the URL prefix you want to redirect. For example, if the URL you want to map is http://www.sun.com/info/movies, you'd type /info/movies in this field. This setting forwards requests to a URL prefix, keeping the absolute path, and substituting one prefix for another. For example, if you forward
http://www.sun.com/info/movies to a prefix sunone.com, the URL http://www.sun.com/info/movies redirects to
http://sunone.com/info/movies.

Sometimes you may want to redirect requests for all the documents in one sub-directory to a specific URL. For example, if you had to remove a directory because the documents were no longer to be served, you could direct a request for any one the documents to a page explaining why the documents were no longer available. For example, a prefix on /info/movies could be redirected to http://www.sun.com/explain.html.

Forward requests to

Specifies the destination URL.

  • URL prefix. Specifies the URL prefix to forward to, to substitute one prefix for another.

  • Fixed URL. Specifies that the text in this field is a fixed URL. If the directory structure on the new server is not the same as the directory structure on the mapped URL, you could forward the URL to a fixed URL. For example, you could forward http://www.sun.com/info/movies to: http://sunone.com/new-files/info/ movies.

OK

Saves your changes.

Reset

Resets the values on the page to the default values.

Current Forwarding

Displays all URL forwardings currently defined on your server.

Edit

Puts the values for the selected URL forwarding in the page so you can edit them. To toggle back to Add mode, click Add in the page title.

Remove

Removes the selected URL forwarding.


Legal Notices
Copyright © 2004 Sun Microsystems, Inc. All rights reserved.
SUN PROPRIETARY/CONFIDENTIAL