Download Print this page

Portal Safe-Redirect Method - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

Usage guidelines
You can execute this command multiple times to configure multiple portal safe-redirect forbidden
URLs. The device does not redirect HTTP requests destined for the specified URLs to the portal Web
server.
Before you execute this command, make sure the portal safe-redirect feature is enabled.
Examples
# Specify http://www.abc.com as a portal safe-redirect forbidden URL.
<Sysname> system-view
[Sysname] portal safe-redirect forbidden-url
Related commands
portal safe-redirect enable

portal safe-redirect method

Use portal safe-redirect method to specify HTTP request methods permitted by portal
safe-redirect.
Use undo portal safe-redirect method to delete HTTP request methods permitted by portal
safe-redirect.
Syntax
portal safe-redirect method { get | post }*
undo portal safe-redirect method { get | post }*
Default
After portal safe-redirect is enabled, the device redirects only HTTP requests with the GET method.
Views
System view
Predefined user roles
network-admin
Parameters
get: Specifies the GET request method.
post: Specifies the POST request method.
Usage guidelines
After you specify HTTP request methods for portal safe-redirect, the device redirects only the HTTP
requests with the specified methods to the portal Web server.
Before you execute this command, make sure the portal safe-redirect feature is enabled.
If you configure this command multiple times, the most recent configuration takes effect.
Examples
# Specify the GET request method for portal safe-redirect.
<Sysname> system-view
[Sysname] portal safe-redirect method get
Related commands
portal safe-redirect enable
http://www.abc.com
300

Advertisement

loading