Configuration styles are an easy way to apply a set of options to specific files or directories that your server maintains. For example, you can create a configuration style that sets up access logging. When you apply that configuration style to the files and directories that you want to log, you don't have to individually configure access logging for all the files and directories.
Click Enterprise Web Server servername > Styles > New Style.
In the Style Name field, enter the name you want to give the configuration style.
Click OK.
Select a configuration style to edit from the Style drop-down list and then click Edit This Style.
From the list of links available, click the category you want to configure for your style. You can configure the following information:
Fill out the form that appears and then click OK.
Repeat Step 4 and Step 5 to make any other changes to the configuration style.
Click OK on the form you modified.
Click OK on the Edit a Style form.
Click Save and Apply.
Click Enterprise Web Server servername > Configuration Styles > Edit Style.
Select a configuration style to edit from the Style drop-down list.
Click Edit This Style.
From the list of links available, click the category you want to configure for your style.
For more information on these categories, see Creating a Configuration Style.
Fill out the form that appears > click OK.
Repeat Steps 4 and 5 to make any other changes to the configuration style.
Click OK on the form you modified.
Click OK on the Edit a Style form.
Click Save and Apply.
Once you've created a configuration style, you can apply it to files or directories in your server. You can specify either individual files and directories or wildcard patterns, such as *.GIF.
Click Enterprise Web Server servername > Configuration Styles > Assign Style.
In the URL Prefix Wildcard field, enter the prefix of the URL that you are applying this configuration style to.
If you select a directory inside the document root, only enter the path after the document root. If you enter /* after the directory, you apply the configuration style to all of the directory's contents.
Select the configuration style you want to apply from the Style drop-down list.
Click OK > Save and Apply.
Before removing a configuration style, apply the None configuration style to any files or directories that had the configuration style applied to them. If you do not apply None before removing the configuration style, you must manually edit your OBJ.CONF file, search for the configuration style in the file, and replace it with None. If you don't do this search and replace, anyone who accesses the files or directories that the deleted configuration style was applied to will get a server configuration error message.
Click Enterprise Web Server servername > Configuration Styles > Remove Style.
Select the configuration style you want to remove from the Remove drop-down list.
Click OK > Save and Apply.
After you have created configuration styles and applied them to files or directories, you can get a list of the configuration styles and where you applied them.
Click Enterprise Web Server servername > Configuration Styles > List Assignments.
To edit a configuration style assignment, click Edit Style Assignment next to the configuration style name.