Manipulating Pages


This document introduces you to the tools that enhance navigation between the pages of your site. These are:


Redirect URL

Use this feature to redirect your visitors from one web page to another or even to a different website.

To create a redirect in a Unix-based account, do the following:

Unix-based accounts

Entering http://www.examples.com/products into the Redirect from field and http://www.examples.com?param1=yes in the to field, will take all the http://www.examples.com/products visitors to the http://www.examples.com?param1=yes page.

If you leave the Redirect from field empty, visitors will be redirected from any location in the site. In the to field, you can enter URLs with parameters, as illustrated in the screenshot above.

Leave Redirect status as is unless you want to change the default:

Windows-based accounts

In Windows plans, redirect works in a slightly different manner:


Directory Indexes

This tool allows you to set your own index pages instead of those specified in the default settings. In other words, you can tell your visitors' browsers which page to load as they hit your domain. Usually, it's /index.html by default, but you can set any other custom welcome page.

Example: If a visitor goes to your site http://www.example.com, the first page to open will be http://www.example.com/index.html. However, if you set /welcome.html as the directory index, the page to open will be http://www.example.com/welcome.html.

Warning: your custom index pages won't add to the defaults; they will replace them. Therefore, make sure to enter the full list of indexes you would like to have in your configuration.

To set your custom directory indexes, do the following:

If you are using a Unix-based plan, click the Apply link at the top of the Web Service page.


Error Pages

Use this utility to define what will be done if a requested page on your site is missing or fails to open for any other reason. In order to specify your own ErrorDocuments, you need to be slightly familiar with the server returned error codes:

Successful Client Requests
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
Client Request Redirected
300 Multiple Choices
301 Moved Permanently
302 Moved Temporarily
303 See Other
304 Not Modified
305 Use Proxy
Client Request Errors
400 Bad Request
401 Authorization Required
402 Payment Required (not used yet)
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable (encoding)
407 Proxy Authentication Required
408 Request Timed Out
409 Conflicting Request
410 Gone
411 Content Length Required
412 Precondition Failed
413 Request Entity Too Long
414 Request URI Too Long
415 Unsupported Media Type
Server Errors
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported

To configure Error Pages, do the following:

Windows users will get a slightly different form to enter the path to the custom error page.

* Note that the path should be relative to the home directory, not to the virtual host directory.


Server Side Imagemap

This feature allows your server to regard files with a specific extension as map files. In other words, the server checks the file with the specified extension to define the links of an image (unlike a client-side image map, which uses the info inserted into the HTML code) and reports back to the browser where to go.

To add an imagemap file extension, do the following:


MIME Types

This utililty allows you to define file formats that are not defined in web browsers. This enables the browser to display or output files that are not in HTML format, just like it displays simple text files, .gif graphics files and PostScript files.

To add a definition for your own file format, do the following:

Begin file extension with a dot. The MIME type must comply with MIME type specifications, e.g.: text/rtf or video/mpeg.


Related Documents:

© Copyright 1998-2003. Positive Software Corporation.
All rights reserved.