Sun Java logo     Previous      Main     

Sun logo
Sun Java System Web Proxy Server User Interface 

The Templates Tab


The Templates tab contains the following pages:


The Create Template Page

The Create Template page allows you to create a template.

The following elements are displayed:

Template Name. Enter a name for the template you are creating.

OK. Clicking this button creates a new template with the specified name.

Reset. Erases your changes and resets the elements in the page to the values that they contained before your changes.


The Remove Template Page

The Remove Template page allows you to remove a template.

The following elements are displayed:

Remove. Use the drop-down list to specify the template to remove.

OK. Clicking this button removes the selected template. You will not be prompted to confirm removal, so do not click OK unless you’re sure you want to remove the template from the list.

Reset. Erases your changes and resets the elements in the page to the values that they contained before your changes.


The Apply Template Page

The Apply Template page allows you to apply a configuration template to files or directories on your server. You can choose specific files and directories, or you can specify a wildcard pattern.

The following elements are displayed:

URL Prefix Wildcard. Enter the URL prefix to which the template will be applied. Specify files or directories, or the wildcard pattern (for example, * gif). If you enter /* after the directory, the configuration template will be applied to all contents of the directory.

Template. Use the drop-down list to specify the configuration template you want to apply. The NONE configuration template can be applied to remove any configuration template previously applied to a resource.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values that they contained before your changes.


The View Template Page

The View Template page displays all configuration templates applied to server resources. The assignments display only after you have assigned templates to files or directories.

The following elements are displayed:

Template Assignment. Lists all configuration template assignments.

Pattern. The files or directories, or the wildcard pattern, to which the template is applied.

Template. The name of the configuration template.

Edit Template Assignment. Click this link to edit or remove the configuration template assignment. Clicking this link displays the Apply Template page. Make your edits and then click OK. To remove the template assignment, click the Remove this assignment link towards the top of the page.


The Remove Resource Page

The Remove Resource page allows you to delete an entire regular expression object and its corresponding configurations. For instance, you can remove the gopher resource so that all settings associated with that resource will be removed from the proxy server’s configuration files.

The following elements are displayed:

Remove. Select the resource you want to remove by either choosing it from the drop-down list.

OK. Clicking this button removes the selected resource. You will not be prompted to confirm removal, so do not click OK unless you are sure you want to remove the template from the list.

Reset. Erases your changes and resets the elements in the page to the values that they contained before your changes.



Previous      Main     


  Copyright 2006 Sun Microsystems, Inc. All rights reserved.