Cisco Cisco ACE Application Control Engine Module Notas de publicación

Descargar
Página de 94
3
Release Note for the Cisco Application Control Engine Module
OL-26643-01
New Software Features in Version A5(2.1)
action-list type modify http Action_question1
 url  rewrite  "/index.html[?]ram=[?]cookie" replace "/test"
Related CLI Changes 
The new HTTP URL rewrite feature includes a set of statistics counters and error counters, and the 
following command line interface (CLI) commands have been modified:
show stats http—The show stats http command is modified to include the following statistics in 
the output:
URLs Rewritten—Counter to show the number of replacements performed for the current 
context
URLs Rewrite Errors—Counter to show the number of failed rewrites for the current context
URL Rewrites Configured—Counter to show how many URL Rewrite rules have been 
configured
The following example shows how to use the show stats http command:
switch/ctx1# show stats http
--------------HTTP Statistics-----------
LB parse result msgs sent : 2 , TCP data msgs sent : 2
Inspect parse result msgs : 0 , SSL data msgs sent : 0
sent
TCP fin/rst msgs sent : 0 , Bounced fin/rst msgs sent: 0
SSL fin/rst msgs sent : 0 , Unproxy msgs sent : 1
Drain msgs sent : 1 , Particles read : 21
Reuse msgs sent : 0 , HTTP requests : 2
Reproxied requests : 0 , Headers removed : 0
Headers inserted : 0 , HTTP redirects : 0
HTTP chunks : 0 , Pipelined requests : 0
HTTP unproxy conns : 1 , Pipeline flushes : 0
Whitespace appends : 0 , Second pass parsing : 0
Response entries recycled : 0 , Analysis errors : 0
Header insert errors : 0 , Max parselen errors : 0
Static parse errors : 0 , Resource errors : 0
Invalid path errors : 0 , Bad HTTP version errors : 0
Headers rewritten : 1 , Header rewrite errors : 0
URLs rewritten
 : 4 , URL rewrite errors : 0
show action-list—The show action-list command is modified to include the URL Rewrite field in 
the output.
The following example shows how to use the show action-list command:
switch/ctx1# show action-list
Number of action-lists : 2
Action-list : act1
Type : Modify
Header Insert Request : name: Host value: 31.0.0.248
Header Insert Response :
Header Insert Both :
Header Delete Request :
Header Delete Response :
Header Delete Both :
Header Rewrite Request :
Header Rewrite Response :
Header Rewrite Both :
SSL Rewrite Location :
URL Rewrite
 :
Action-list : act2