E-DOC-CTC-20061027-0003v2.0
DSD Commands
220
dsd urlfilter rule addAdd a rule.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
dsd urlfilter rule add url = <string>
action = <{block | accept | redirect}>
redirect = <string>
url Definition of the URL filter. REQUIRED
action The action to perform when URL matches URL.
Choose between:
>block
>accept
>redirect.
REQUIRED
redirect The redirection URL.
Note This parameter is only required when the action is redirect.
REQUIRED
=>dsd urlfilter rule add url=www.speedtouch.com action=redirect redirect=www.speedtouch.be
=>dsd urlfilter rule list
Index Action Url Redirect
----- ------ --- --------
0 redirect www.speedtouch.com www.speedtouch.be
Rule list statistics : 1 present, 128 total (0.0% used)
=>
dsd urlfilter rule delete Delete a rule.
dsd urlfilter rule list Display the list of current rules.