Affected Idoc Script Variables and Functions

5-64 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server In typical scenarios, the web server will forward to the Oracle Content Server instance two critical pieces of information: ■ HTTP_HOST: The host header that the browser sends, identifying the host as it appears to the user in their browser address bar. ■ SERVER_PORT: The port the browser uses in connecting to the Oracle Content Server instance. The browser-based full address is used for two critical pieces of functionality: 1. Automatic creation of URLs in the side frame of the Trays layout for the Oracle Content Server instance. In particular, the side mini-search requires a prediction of the full URL, not just the relative URL. 2. The secondary URL the xml-http... piece following the PDF URL that does highlighting for PDF documents. Without any additional configuration, the BrowserUrlPath component augments the functionality of certain variables, so if SERVER_PORT has the value 433, then the component assumes the protocol is HTTPS instead of HTTP. Likewise, if SERVER_ PORT does not have the value 433, then the component assumes the browser issued the request using HTTP and not HTTPS. This enhancement allows both a SSL HTTPS and non-SSL web server HTTP to access the same Oracle Content Server instance. This component also has special functionality for WebDAV access. The configuration entry WebDavBaseUrl is augmented so that its usage is dynamic its host and protocol vary using the absolute path rules.

5.9.2.2 Affected Idoc Script Variables and Functions

The BrowserUrlPath component overrides the computation of the following Idoc Script variables and functions: ■ HttpBrowserFullCgiPath ■ HttpWebRoot ■ HttpCgiPath ■ HttpAdminCgiPath ■ HttpImagesRoot The BrowserUrlPath component adds computation for the following variables: ■ HttpBrowserFullWebRoot : Defines the full URL path to the web root of the current Oracle Content Server instance using values supplied from the users current browsers address bar. This variable is similar to HttpBrowserFullCgiPath except it is for the web root instead. ■ HttpAbsoluteWebRoot : Defines the universal full URL path to the web root of the current Oracle Content Server instance. It can have a different protocol or host name than the path in HttpBrowerFullWebRoot. For example, if the user specifies an IP address for the host name, the HttpBrowserFullWebRoot variable might pick up the IP address, but the HttpAbsoluteWebRoot variable would ignore it and use the appropriate internally configured host name. Caution: The functionality for WebDAV access alters the behavior of CHECKOUT and OPEN functions on some Oracle Content Server pages, and alters some behavior in the Site Studio client. Managing Security and User Access 5-65 ■ HttpAbsoluteCgiPath : Defines the universal full dynamic root URL for the current Oracle Content Server instance. This is the path that executes the plug-in code in the web server that makes calls for dynamic content from the Oracle Content Server instance. It can have a different protocol or host name than the path in HttpBrowserFullCgiPath. For example, if the user specifies an IP address for the host name, the HttpBrowserFullCgiPath variable might pick up the IP address, but the HttpAbsoluteCgiPath variable would ignore it and use the appropriately internally configured host name. In the case of the browser path variables HttpBrowserFullCgiPath and HttpBrowserFullWebRoot, the implementation code determines what the user is currently using for protocol HTTP versus HTTPS, port number, and host name in the browser. It bases this determination on what the web server receives in its request.

5.9.2.3 Determining the URL Path