Edit Document Preferences

Use this page to specify the file name of the index, the type of indexing it will use, the virtual server home page, and the default MIME type.

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

Index Filenames

Specifies the file the virtual server will look for and display if a user does not specify a document name in a URL. The server assumes that this file is the index file. The default files are index.html and home.html. If you enter more than one file name in this field, the server looks for the files in the order they are listed in the field until it finds one. For example, if your index file names are index.htmland home.html, the server first searches for index.html, and if the server does not find the file, it then searches for home.html. You can specify any file as an index file for a directory by naming it one of these default names, which means you can also use a CGI program as an index if CGI is activated.

Directory Indexing

Determines what type of directory index to generate if the server cannot find one of the index file names specified in the Index Filenames field. The generated index has one of the following formats:

  • Fancy. Fancy directory indexing includes a graphic that represents the type of file, the date the file was last modified, and the file size.

  • Simple. Simple directory indexing displays directory entries as plain text hyperlinks and takes less time to generate than fancy indexing.

  • None. This setting specifies that no dynamic directory listing be generated if the server looks for index files and cannot find any. If the server does not find any index files, it will not display a directory listing and will return an error message.

If your server is outside the firewall, turn off directory indexing to ensure that your directory structure and file names are not accessible.

File to use for error response when indexing is none

If you set indexing to None, then you can specify a file to display if users try to access the directory.

Home Page

Designates whether users will see a specified home page or an index file when they access the virtual server. If you select Home Page, you must enter the URL of the home page in the field to the right of the radio button.

Index File

By default the server finds the index file specified in the Index Filename field and uses that for the home page.

Default MIME Type

Specifies the default MIME type the server returns if a client accesses a file with an extension that has not been set up as a MIME type on the server.

The default MIME type is usually text/plain, but you should set it to the type of file most commonly stored on the virtual server. Some common MIME types include the following:

  • text/plain

  • text/richtext

  • image/jpeg

  • application/x-tar

  • application/x-gzip

  • text/html

  • image/tiff

  • image/gif

  • application/postscript

  • audio/basic

OK

Saves your changes.

Reset

Resets the values on the page to the default values.


Legal Notices