Sun Java System Web Server 6.1 SP9 Administrator's Guide

ProcedureTo parse HTML

  1. From the Class Manager, click the Content Management tab.

  2. Click Parse HTML.

  3. Choose a resource for which the server will parse HTML.

    Choose Entire Server from the resource picker to apply your change to the whole class, or navigate to the document root for a specific virtual server, or to a specific directory or within a specific virtual server.

    If you choose a directory, the server will parse HTML only when the server receives a URL for that directory or any file in that directory.

  4. Choose whether to activate server-parsed HTML.

    You can activate for HTML files but not the exec tag, or for HTML files and the exec tag, which allows HTML files to execute other programs on the server.

  5. Choose which files to parse.

    You can choose whether to parse only files with the .shtml extension, or all HTML files, which slows performance. If you are using UNIX/Linux, you can also choose to parse UNIX/Linux files with the execute permission turned on, though that can be unreliable.

  6. Click OK.

    For more information on setting your server to accept parsed HTML, see the online help for the Parse HTML page.

    For more information on using server-parsed HTML, see the Sun Java System Web Server 6.1 SP9 Programmer’s Guide.