INTEGRAL Web Server Configuration Keywords
Jump directly to:
WEBSITE_MODE
This keyword sets the URL processing mode for an INTEGRAL website. The following values are supported:
STANDARD — In this mode INTEGRAL Web Server uses the URL path in a web request to obtain the corresponding MIME Type handler and local file path. If the MIME Type handler is not found (or enabled for the site), the PAGE_403_FORBIDDEN error page is returned. Otherwise, the local file is served according to the obtained MIME Type handler. For example, if the file's extension is associated with the static file handler, the file is sent to the client as-is. If the file's extension is associated with the INTEGRAL program handler, the program itself sends the output. If, however, the local file cannot be found (or accessed), the 404_NOTFOUND error page is returned.
PASS_URL — In this mode INTEGRAL Web Server first attempts to use the URL path in a web request to obtain the corresponding MIME Type handler and local file path. If the MIME Type handler is not found (or enabled for the site), then INTEGRAL Web Server ignores the URL path and uses the website's default index file (as defined by the WEBSITE_INDEX keyword) to obtain the corresponding MIME Type handler and local file path. In other words, the request is then passed to the default index file. If the MIME Type handler is still not found (or enabled for the site), the PAGE_403_FORBIDDEN error page is returned. Otherwise, the local file is served according to the obtained MIME Type handler. For example, if the file's extension is associated with the static file handler, the file is sent to the client as-is. If the file's extension is associated with the INTEGRAL program handler, the program itself sends the output. If, however, the local file cannot be found (or accessed), the 404_NOTFOUND error page is returned.
PASS_URL_CHECK — In this mode INTEGRAL Web Server first attempts to use the URL path in a web request to obtain the corresponding MIME Type handler and local file path. If the MIME Type handler is not found (or enabled for the site), or if the local file cannot be found (or accessed), then INTEGRAL Web Server ignores the URL path and uses the website's default index file (as defined by the WEBSITE_INDEX keyword) to obtain the corresponding MIME Type handler and local file path. In other words, the request is then passed to the default index file. If the MIME Type handler is still not found (or enabled for the site), the PAGE_403_FORBIDDEN error page is returned. Otherwise, the local file is served according to the obtained MIME Type handler. For example, if the file's extension is associated with the static file handler, the file is sent to the client as-is. If the file's extension is associated with the INTEGRAL program handler, the program itself sends the output. If, however, the local file cannot be found (or accessed), the 404_NOTFOUND error page is returned.
PASS_URL_ALL — In this mode INTEGRAL Web Server ignores the URL path in a web request altogether and immediately uses the website's default index file (as defined by the WEBSITE_INDEX keyword) to obtain the corresponding MIME Type handler and local file path. In other words, the request is always passed to the default index file. If the MIME Type handler is not found (or enabled for the site), the PAGE_403_FORBIDDEN error page is returned. Otherwise, the local file is served according to the obtained MIME Type handler. For example, if the file's extension is associated with the static file handler, the file is sent to the client as-is. If the file's extension is associated with the INTEGRAL program handler, the program itself sends the output. If, however, the local file cannot be found (or accessed), the 404_NOTFOUND error page is returned.
Example 1
!WEBSITE_MODE=STANDARD
Example 2
!WEBSITE_MODE=PASS_URL
Example 3
!WEBSITE_MODE=PASS_URL_ALL