Specifying Extensions for Files That the Redirect Server Accepts (SRC CLI)
If you do not specify the types of files that the redirect server accepts, the redirect server accepts all file types. You can identify file types by specifying the file extensions for the files that the redirect server is to accept.
Use the following configuration statements to configure the file extensions that the redirect server accepts:
To specify the extensions for the types of files accepted by the redirect server:
From configuration mode, access the configuration statement that configures the redirect server.user@host# edit redirect-server
Specify whether the redirect server should accept only URLs that point to files that have standard file extensions—<empty>, .asp, .htm, .html, .jsp, .php, .shtm, .shtml, and .xml.[edit redirect-server]user@host# set check-file-extensions
If you enable check-file-extensions and the file does not have a standard file extension, the redirect server returns an HTTP 403 Forbidden message.
List file extensions to augment the standard file extensions you configured. Precede each extension with a period. Make sure that you specify the correct case for each character; entries are case-sensitive.[edit redirect-server]user@host# set file-extensions file-extensions
Separate each file extensions by a comma. For example:
set file-extensions .cgi,.aspx