web-server mode(HTTP redirection profile view)

Function

The web-server mode command configures an HTTP working mode for a web server.

The undo web-server mode command restores the default working mode for a web server.

The default working mode for a web server is get.

This command is supported only on the NetEngine 8000 F1A.

Format

web-server mode { get | post }

undo web-server mode [ get | post ]

Parameters

Parameter Description Value
get

Indicates that the working mode is get.

-

post

Indicates that the working mode is post.

-

Views

HTTP redirection profile view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
portal write

Usage Guidelines

Usage Scenario

HTTP redirection is used to block user or service traffic after user or service quotas are exhausted. Users' HTTP requests are redirected to a specified page (a recharge page usually). To configure an HTTP working mode for a web server, run the web-server mode command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Create an HTTP redirection profile named test, and set an HTTP working mode to post for the web server.
<HUAWEI> system-view
[~HUAWEI] http-redirect-profile test
[~HUAWEI-redirect-profile-test] web-server mode post
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >