Advanced (LANSA Web Server Extension only)

When you select the Add or Change button on the Maintain Websites (local) dialog box, the Add or Change Website <as requested> window is displayed. Add or change the Web Server options as required. Add or change option on the Advanced tab as required.

Spool File Access

Select an entry from the drop down list to set the level of user access to view IBM i Spool files via LANSA Web. This setting will only be relevant if you connect to an IBM i Data/Application Server and retrieve HTML.

Possible Spool File Access selections are:

Enable File Fetch Request

This option allows the LANSA Web Server Extension or LANSA Web Server Extension for Linux to handle URLs like this: http://server/cgi-bin/lansaweb?fetch=/some/file to retrieve files from the Data/Application Server.

HTTP error code 404 (File Not Found) is returned if:

By default, this option is not enabled.

Expire Generated Page Immediately

This option is used to expire the generated page at the specified time.

If enabled, the following additional text will be added to the HTTP header of every web response produced by the LANSA Web Server Extension: Expires: {time}

The expire time can be set to either the time when the web response is generated by the Data/Application Server or specified seconds before/after the generation time.

See W3C protocols: 14.21 Expires for more information.

By default, this option is not enabled.

Prevent Generated Page From Being Cached

This option is used to control caching behavior of web browsers and proxies.

If enabled, the following additional text will be added to HTTP header of every web response produced by the LANSA Web Server Extension: Pragma: no-cache

See W3C protocols: 14.32 Pragma for more information.

By default, this option is not enabled.

HTTP POST Request Guard

You can either use the settings defined at the Web Server level or you can override those settings for this

LANSA System. See Post Data Size Limit in General (LANSA Web Server Extension) for information.

Partition

Specify the partition if you want to have all the requests for this Web Server/Port to use a particular LANSA partition or if you want to use a default partition. If no partition is specified, you must specify the partition parameter in your URL.

Always use this partition

If this option is selected, the specified partition will override any partition specified in the URL.

If this option is not selected, the specified partition will be used as a default partition if none is specified in the URL.