Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

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:

  1. From configuration mode, access the configuration statement that configures the redirect server.

  2. 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.

    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.

  3. 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.

    Separate each file extensions by a comma. For example:

    set file-extensions .cgi,.aspx