Sun Java System Web Server 7.0 Update 4 Administrator's Guide

ProcedureTo Set Server Parsed HTML

  1. From the virtual server page, click the Content Handling tab.

  2. Click the General sub tab.

  3. Under Parsed HTML/SSI Settings, 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 enables HTML files to execute other programs on the server.

  4. 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.

  5. Click Save.

    For more information on using server-parsed HTML, see the Web Server Developer’s Guide.

    Note –

    Using CLI

    To set up server parsed HTML through CLI, execute the following command.

    wadm> enable-parsed-html --user=admin --password-file=admin.pwd 
    --host=serverhost --port=8989 --config=config1 --vs=config1_vs1

    See CLI Reference, enable-parsed-html(1).