Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

np
New Member

11506 extra 302s causing trouble

Hi,

I have 2 sets of services supporting a 2 content rules, one is dynamic content the other static they both get requested together

The pages are dynamic, the css and images they contain are static

when a page is requested the css gives the dynamic content back, then the browser requests the first static element and the css gives back a 302 to the same url if the browesr rerequests this then all should be well (if an unnessecary slight delay)

The trouble is that this 302 appears to be causing some browsers to not use the css (the first such element)

On other pages the first image can load after the others.

What steps should I take to find its cause and remove it?

here is an example config that mirrors my real one

service static

ip address 192.168.0.10

protocol tcp

keepalive type http

port 8080

keepalive port 8080

keepalive uri "/keepalive.html"

active

service dynamic

the same (including ip address) except-

port 8090

keepalive port 8090

owner webapp

content staticsite

vip address <public ip or ip used by ssl-proxy-list>

protocol tcp

port 80

add service static

active

content dynamic

vip address <same public ip or ip used by ssl-proxy-list>

protocol tcp

port 80

url "/theApp/*"

sticky-mask 255.255.255.240

sticky-inact-timeout 1800

add service dynamic

active

so the dynamic url is 'below' the static one /css and /images and /anything are served by static and only /theApp/* is served by the dynamic

in reality the are 3 static and 12 dynamic services

running sg0720206 (7.20 Build 206)

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: 11506 extra 302s causing trouble

the redirect is because of the change of content rule and the use of persistent connection.

To avoid the redirect, you can use the global config command "persistence reset remap"

Regards,

Gilles.

2 REPLIES
Cisco Employee

Re: 11506 extra 302s causing trouble

the redirect is because of the change of content rule and the use of persistent connection.

To avoid the redirect, you can use the global config command "persistence reset remap"

Regards,

Gilles.

np
New Member

Re: 11506 extra 302s causing trouble

this seems to have done the trick

are there any downsides? why would't you want persistence reset remap set?

Many Thanks

Neil

127
Views
0
Helpful
2
Replies
CreatePlease to create content