Skip Headers
Oracle® Universal Content Management Web Parts User Guide
Release 10gR3
E10884-01
 
Library
Go To Product List
Product
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

The Web Config File

The Web.Config file is used to configure Oracle Web Application functionality. This file is typically installed in the c:\Inetput\wwwroot\WebApp directory.

This section describes settings in the top-level WebApp Web.Config file. Each portion of the file is described by an XSLT 'path' to the section with a brief description of the content. Example snippets are also provided for each portion. Portions of this file that are not listed here should not be modified.

This section describes the following portions of the Web.Config file:

EmailFromName

This setting configures the FROM email address and optional name from which diagnostic web server emails are sent.

XML Path: //configuration/appSettings/add[@key="EmailFromName"]

The value can be in one of two formats:

  • If specifying only the email address, use the email address:

    "first.last@mycompany.com"
    
  • If using a specific name and an email address, use the following format:

    value=""From Name" <first.last@mycompany.com>"
    

Example:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <appSettings>
        <add key="EmailFromName" value="&quot;WebApp System Monitor&quot;
        &lt;some.name@somecompany.com&gt;" />
    ...

EmailServerName

This setting configures the outgoing email (SMTP) server to use when sending diagnostic web server emails. The EmailFromName must be an authorized sender on that server.

XML Path: //configuration/appSettings/add[@key="EmailServerName"]

Example:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <appSettings>
        <add key="EmailServerName" value="smtp.someserver.com" />
    ...

ErrorEmailRecipients

This setting configures the TO email address(es) and optional name(s) to which diagnostic web server emails will be sent.

XML Path: //configuration/appSettings/add[@key="ErrorEmailRecipients"]

Separate values using commas (,) or semicolons (;). Values can be in one of two formats:

  • If specifying only the email address, use the email address:

    "first.last@mycompany.com"
    
  • If using a specific name and an email address, use the following format:

    value="&quot;To Name&quot; &lt;first.last@mycompany.com&gt;"
    

Example:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <appSettings>
        <add key="ErrorEmailRecipients" value="first.recipient@somecompany.com,
        &quot;Second Recipient&quot; &lt;second.recipient@somecompany.com&gt;" />
    ...

DiagnosticSetting.Logging

This setting enables / disables all event logging for the WebApp web server. If this is set to off, the DiagnosticSetting.Timer setting is ignored. If set to on, error dumps are output to the Application Event Log with the Source name of WebApp.

XML Path: //configuration/appSettings/add[@key="DiagnosticSetting.Logging"]

Setting a value to 1 enables logging. Setting to 0 disables all logging.

Example:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <appSettings>
        <add key="DiagnosticSetting.Logging" value="1" />
    ...

DiagnosticSetting.Timer

This setting enables or disables diagnostic timings logging for the WebApp web server. If enabled, timings are output to the WebApp.Timings Event Log with source names related to web server operations, and time settings (HH:MM:SS.mmm) of actions (such as "WSS Call", "[Client] Download", etc) in the descriptions.

XML Path: //configuration/appSettings/add[@key="DiagnosticSetting.Timer"]

Setting a value to 1 enables timing logging. Setting to 0 disables the logging.

Example:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <appSettings>
        <add key="DiagnosticSetting.Timer" value="0" />
    ...

DefaultUserTheme

This setting controls which theme will be shown to users by default when logging into the main WebApp portal. Themes may be hard-coded for items served in other contexts such as Content Server Web Parts that use the SharePoint theme. The theme name maps to a directory name under the WebApp install directory, which is typically stored at c:\Inetpub\wwwroot\WebApp\Styles\[Theme Name].

XML Path: //configuration/appSettings/add[@key="DefaultUserTheme"]

Example:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <appSettings>
        <add key="DefaultUserTheme" value="Outlook" />
    ...