Configure CGI Directory

Use this page to specify the directory where CGI programs are stored for a virtual 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 for the CGI directory. The text you type in this field appears as the directory for the CGI programs in URLs.

For example, if you type cgi-bin as the URL prefix, then all URLs to these CGI programs have the following structure:

http://yourserver.domain.com/cgi-bin/program-name


The URL prefix you specify can be different from the real CGI directory you specify in the CGI directory field.

CGI Directory

Specifies the absolute path of the CGI directory. This directory does not have to be under the document root.

Current CGI Directories

Lists all CGI directories currently defined for the server. To modify a CGI directory, click Edit in the directory row. To remove a CGI directory from the list, click Remove in the directory row.

Edit

Allows you to edit an existing CGI directory. The URL prefix and directory path appear in the upper portion of the page, ready to be edited.

Remove

Removes a directory from the list of registered CGI directories. The directory itself is not deleted.

OK

Saves your changes.

Reset

Resets the values on the page to the default values.


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