Removing access to the debug URL

Lawson Portal ships with access to the debug URL enabled. Administrators can disallow access to the debug URL at the system-wide level. This means that all users, including yourself as an administrator, would not be able to use it while it was turned off. (As an administrator, you could turn debug access back on at any time.)

The debug URL is enabled by default through the "allow_trace" attribute in the configuration file (portalconfig.xml). To make the URL inaccessible (or to turn it back on if it has been turned off) perform the following procedure.

  1. Open the file portalconfig.xml for editing. This file is located on the web server in:

    /DocumentRoot/lawson/MyWorkspace/portalconfig.xml

  2. To disable the updates prompt, change the value of the allow_trace attribute in the <SETTING id> node to "0" as shown in the following example. (The <SETTING id> nodes are between the <SETTINGS> </SETTINGS> tags near the top of the portalconfig.xml file.)

    Example:

    <SETTING id="allow_trace" value="0" />

  3. If you need to enable the debug mode, perform step 2, but change the allow_trace value to "1" instead of "0".