03-03-2005 01:12 PM
I configured the headers rule for http post but it´s doesn´t work.
Someone have any idea..??
This is the config.....thanks
service wqa01-27
ip address 172.16.51.27
keepalive uri "/newadmin/admin/arrow.asp"
keepalive frequency 35
keepalive type http
string wqa0127
active
service wqa02-27
keepalive uri "/newadmin/admin/arrow.asp"
keepalive frequency 35
keepalive type http
string wqa0227
ip address 172.16.52.27
active
content ar-qa-post
vip address 200.41.112.38
protocol tcp
port 80
url "/*"
advanced-balance arrowpoint-cookie
arrowpoint-cookie advanced
header-field-rule POST-METHOD weight 0
add service wqa01-27
add service wqa02-27
active
!********************* HEADER FIELD GROUP *********************
header-field-group GET-METHOD
header-field GET request-line contain "GET"
header-field-group POST-METHOD
header-field POST request-line contain "POST"
03-03-2005 01:51 PM
Do you have similar content rules configured matching the 'GET' request in the same session? I suspect this may be related to the fact that you are also using 'advanced-balance arrowpoint-cookie'.
Can you remove the cookie portions of the rule configuration and test again?
~Zach
03-04-2005 07:06 AM
Hi Zach,
I removed the advance-balance arrowpoint-cookie and
arrowpoint-cookie advance.
But, it´s still doesn´t work.
This is the config for GET:
content ar-qa-post
vip address 200.41.112.38
protocol tcp
port 80
url "/*"
advanced-balance arrowpoint-cookie
arrowpoint-cookie advanced
add service wqa01-27
add service wqa02-27
active
Do you have any test or idea...????
Many thanks.-
Javier
03-04-2005 07:40 AM
Javier,
what is 'does not work' ?
Do you see any hit on your post content rule ?
'sho summary'
Why do you want to separate post from get ?
Gilles.
03-04-2005 07:51 AM
Hi Gilles,
The HTTP POST don´t pass through arrow, GET yes.
I don´t want separate these, please, give any example for config get and post on arrow.
Thanks for your help.
03-04-2005 08:37 AM
Javier,
I don't understand your requirement -- if you don't want to seperate GET and POST requests, then drop the header-field-rule and just use a single content rule.
If you want them to be seperate, then I want you to test with arrowpoint cookies removed from the POST *and* GET content rules.
~Zach
03-07-2005 04:42 AM
Hi,
It´s still doesn´t work.
Please, could you give an example of this type of config...???
Many Thanks
Javier
03-07-2005 05:14 AM
Javier,
I would suggest you to start with something basic and than add complexity.
Create a very simple content rule with just an ip address. no port. no protocol.
Then add one or more servers.
Activate.
Give it a try like this.
Does it work ?
If yes, define 'protocol tcp' and 'port 80'.
Does it work ?
If yes, configure 'url "/*"'
does it work ?
If yes, configure 'advanced-balance arrowpointcookie'
This config is explained at
http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_tech_note09186a0080094398.shtml
It it does not work, tell us what is not working.
Is it the stickyness that does not work or you can't even connect to the vip address ?
Also collect a sniffer trace on client and server.
Thanks,
Gilles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide