12-23-2003 03:43 AM
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)
Solved! Go to Solution.
12-23-2003 10:59 AM
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.
12-23-2003 10:59 AM
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.
01-07-2004 01:44 AM
this seems to have done the trick
are there any downsides? why would't you want persistence reset remap set?
Many Thanks
Neil
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