Configuration Guide Configuring Content Audit
url-audit { except-postfix | except-regexp | first-get | only-get | optimize-cache }.
Configuration Example
Enabling Default URL Audit
Enable default URL audit.
Ruijie# configure terminal
Ruijie(config)# url-rule audit-default-enable
Ruijie(config)# end
Use the show running-config command to display the configuration status.
Enabling the Referer Field Audit
Enable referer field audit.
Ruijie# configure terminal
Ruijie(config)# url-rule apply-referer
Ruijie(config)#end
Use the show running-config command to display the configuration status.
Configuring URL Audit Optimization
Configure only the first GET message in the HTTP stream to be audited.
Ruijie# configure terminal
Ruijie(config)# url-audit first-get
Ruijie(config)#end
Configure only GET messages in the HTTP stream to be audited.
Ruijie# configure terminal
Ruijie(config)# url-audit only-get
Ruijie(config)#end
Configure URLs matching the default RE ".*=.*&.*=.*" not to be audited
Ruijie# configure terminal
Ruijie(config)# url-audit except-regexp
Ruijie(config)# end
Configure URLs with image-related suffixes not to be audited.