Bottom of Page . . Back to Configuring Applications . . Home


Configuration File Parameters

The following variables act as configuration parameters when set in the wcconfig.std file.

MI_USER Specifies the user name for the database connection. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_PASSWORD Specifies the password for the database user. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_PASSWORD_KEY Specifies the key for password encryption. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_DATABASE Specifies the database and server for the database connection. Use the syntax dbName@serverName. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MItab Specifies the name of the database table in which the AppPages for the Web application are stored. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MIcol Specifies the name of the column that contains the AppPage in the MItab Web application table. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MInam Specifies the name of the column that identifies the appropriate row of the MItab Web application table. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MIval Specifies the value to check against the MInam column to identify the row you want to retrieve in the MItab Web application table. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MItabObj Specifies the name of the database table in which Web application large objects are stored. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MIcolObj Specifies the name of the column that contains large objects in the MItabObj table. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MInamObj Specifies the name of the column that identifies the appropriate row of the MItabObj table. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MItypeObj Specifies the MIME type and subtype used to export the large object. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_WEBIPCHECKING Set to Y or N. When Y, each connection is checked to verify that the IP address matches the client IP address when the session was created. Set MI_WEBIPCHECKING to N to enable multiple client sessions to share the same Universal Web Connect session or if the client obtains random IP addresses for each HTTP request. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_WEBBINDIR Specifies the directory where the application binaries are stored. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_WEBWORKDIR Specifies the working directory for the application. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_WEBUPLOADDIR Specifies the directory in which uploaded files are placed. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_WEBDRIVER Set to Y for direct connections or N for managed connections. Specifies the connection method to be used for subsequent connections. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_WEBERRORFILE Specifies the name of the file that contains Universal Web Connect error messages. The default filename is $INFORMIXDIR/uwc-msg/uwcerror.std.
MI_WEBLOCKFILE Specifies the location of the file that is used to control access to applications and the shared memory segment.
MI_WEBLOGFILE Specifies the location of the file to which output from the wcLogPrintf( ) Universal Web Connect API function and the TRACEMSG variable processing function are directed.
MI_WEBLOGMAXSIZE Specifies the maximum size of the log file. When the log file goes beyond this size, it is saved in a .old file, and the previous .old file is removed.
MI_WEBMAXSESSIONS Specifies the maximum number of sessions that can be kept in the session table. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters. If set on a per-application basis, MI_WEBMAXSESSIONS defines the maximum number of sessions that can be allocated to that specific application.
MI_WEBSHMBASE Specifies the base address in the application processes at which the shared memory segment will be attached. If you set MI_WEBSHMBASE to 0, Universal Web Connect finds the lowest available value. Because the value varies depending on which other programs are currently executing when Universal Web Connect is initialized, the value might not be the same from session to session. Do not set MI_WEBSHMBASE to 0xC000000--this value will cause application errors because the Informix Dynamic Server products use 0xC000000 as their shared memory base. If you get an error indicating that Universal Web Connect cannot access the shared memory location, you might need to change the value of MI_WEBSHMBASE.
MI_WEBSHMKEY Specifies the key to use for this instance of shared memory. You can create multiple instances of Universal Web Connect on the same machine if the keys are unique.
MI_WEBTCPPORT Specifies the base port number that will be used for applications. Because there is a possibility of port collisions if another application uses a port within the same range, set to 0 to avoid collisions. If MI_WEBTCPPORT is set to 0, the operating system will dynamically assign the TCP port.
MI_WEBTIMEOUT Specifies the amount of time in seconds that an application can remain idle between HTTP connections before automatically terminating itself. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters.
MI_WEBTRACELEVEL Enables Universal Web Connect tracing. Can be set on a per-application basis if specified between the APP and ENDAPP delimiters. Set to 0 for minimal tracing, 1 for full tracing.



Top of Page . . Back to Configuring Applications . . Home