302 Redirect Location Header Rewrite not working with code upgrade

Hi,
Description:
We have a portal webservice hosted by an ACE4710. It has two services (www/https) on the same IP 10.1.1.1.
One is a redirect service that redirects all requests to tcp/80 on this ip to the other which is a 'standard' https proxy service.
The backend servers are http only. Externally everything needs to be https.
So we have an ssl proxy and Location header http to https rewrite on the https service.
The configuration below operates correctly on v5_1_2.
But with a code upgrade to 5_3_1b, the Location header rewrite does not work.
We've tried several different configurations and even 'ssl url location rewrite ".*". It just looks like the ACE is completely ignoring the configuration to rewrite the Location field.
Reverting to the older code fixes the problem.
Problem seen:
Here is the problem as seen on the *client*. The 302 redirect Location header is NOT rewritten:
Response headers:
HTTP/1.1 302 FOUND
Server: nginx
Date: Fri, 20 Mar 2015 10:59:43 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 295
Connection: keep-alive
Location: http://website.liveportal.nhs.uk/homepage/information
Cache-Control: no-cache, no-store
Set-Cookie: information=35a7831d-928d-4122-aef3-39ef48ac4440; Path=/; secure; HttpOnly
X-Frame-Options: DENY
HTTPSampleResult fields:
ContentType: text/html; charset=utf-8
DataEncoding: utf-8
Config extract:
1) Set up the servers (4 normal on tcp/80 and one for a redirect)
rserver host WEBSERVICE-1
  ip address 192.168.1.1
  conn-limit max 200000 min 160000
  inservice
...and the same for the other three
rserver redirect PORTAL_REDIRECT
  webhost-redirection https://%h/%p 302
  inservice
2) Set up the server farms
serverfarm host PORTAL_LIVE
  probe webping
  rserver WEBSERVICE-1 80
    inservice
  rserver WEBSERVICE-2 80
    inservice
  rserver WEBSERVICE-3 80
    inservice
  rserver WEBSERVICE-4 80
    inservice
serverfarm redirect PORTAL_HTTP_REDIRECT
  rserver PORTAL_REDIRECT
    inservice
3) Setup the ssl proxy and a location rewrite to https for responses from the servers
action-list type modify http HTTPS_LOCATION
  header rewrite response Location header-value "http://(.*)" replace "https://%1"
ssl-proxy service WEB_SSL_PROXY
  key webportal.key
  cert webportal.crt
  chaingroup root-chain
  ssl advanced-options SSL-SECURE-STRONG-WEB
4) Set up the L4 services
class-map match-all PORTAL_HTTP
  2 match virtual-address 10.1.1.1 tcp eq www
class-map match-all PORTAL_SSL
  2 match virtual-address 10.1.1.1 tcp eq https
5) Setup the policy maps - one for the reals servers with header rewrite for redirects
policy-map type loadbalance http first-match PORTAL_HTTP
  class class-default
    serverfarm PORTAL_HTTP_REDIRECT
policy-map type loadbalance http first-match PORTAL_SSL
  class class-default
    serverfarm PORTAL_LIVE
    action HTTPS_LOCATION
6) Create the service policy
policy-map multi-match EXTERNAL-SERVICES
  class PORTAL_SSL
    loadbalance vip inservice
    loadbalance policy PORTAL_SSL
    loadbalance vip icmp-reply
    appl-parameter http advanced-options PARAM-HTTP
    ssl-proxy server WEB_SSL_PROXY
  class PORTAL_HTTP
    loadbalance vip inservice
    loadbalance policy PORTAL_HTTP
    loadbalance vip icmp-reply
7) Apply to the interface
interface vlan 211
  description External Access
  ip address x.x.x.x 255.255.255.0
  alias x.x.x.x 255.255.255.0
  peer ip address x.x.x.x 255.255.255.0
  access-group input PERMIT-ALL
  service-policy input EXTERNAL-SERVICES
  no shutdown

I found that the v5_3_1b code seems to need a bit of extra configuration and it now works ok.
parameter-map type http PARAM_HTTP
header modify per-request
no persistence-rebalance
case-insensitive

Similar Messages

  • Norton Login is not working with the upgrade from firefox. Not too happy about this

    I upgraded to the new firefox. I have a lap top with vista windows.
    Norton Login does not work with this version. Can you please explain to me how to fix this problem. Much preferred the last version of firefox.

    You need an update from Norton, which Norton says will be ready in May.
    http://support.mozilla.com/en-US/kb/Installing+a+previous+version+of+Firefox
    You can get 3.6.16 from here: <br />
    http://www.mozilla.com/en-US/firefox/all-older.html

  • URL-rewriting not working with redirect/

    I couldn't find an answer to the following problem in any of the threads:
    When navigating between pages via internal forwards, I can safely turn off cookies in my browser; the session id will be written into the requested URL, and so session state is being maintained properly. But when I use <redirect/> in a navigation rule in faces-config.xml to force Faces to redirect the request to the target page via an HTTP redirect, the URL is not being rewritten properly - the session id is missing, and so session state is not being maintained. This results in the loss of all user/session specific data for the current browser session.
    I suspect that using <redirect/> results in the Faces Lifecycle being terminated by calling responseComplete() before rendering the view, and that at this point, instead of calling encodeRedirectURL() before redirecting, the URL is being redirected without being rewritten to contain the session id.
    My question thus are: Is my suspicion correct? And is there any solution to this problem?

    What I forgot to mention: I'm using Sun's RI of JSF running on Tomcat 5.0.19.
    Any help is appreciated!
    Wolfgang

  • USB not working with lion upgrade

    I am having the same issues with my Mac mini and MacBook. The USB is not working!  Help!

    Have you upgraded to 10.7.3? Have you reset SMC and PRAM?     
    SMC:http://support.apple.com/kb/HT3964
    PRAM:
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Time Machine backups not working with Yosemite upgrade?

    Time Machine backups "Waiting" with no data after Yosemite install?

    But still not working.....Im getting some error message/info come up though that i never had come up before when running mavericks....I can't even insert a 2.9MB pic/image of pic i took of screen error msg...says 3.0MB Max??
    Saying something about the disc couldn't be found.....but i have highlighted/encrypted back up disc selected...not "available discs".....back up disc is the one I've always backed up to....can anyone on here just help me with this please!!??
    Thank you.

  • OS X Lion, will Quicken 2007 work? What other software does not work with this upgrade?

    Considering upgrading to OS X Lion. DOes anyone know if it will work with Quicken2007? Or other software which it may not work? Thanks!

    Quicken 07 - No
    Quicken Essentials - Yes, but the milage varies   
    Have a look at > App Compatibility Table - RoaringApps

  • Help!  Outlook not working with Lion upgrade!!

    I upgraded to lion, now I'm not getting emails in my inbox in Outlook.  I'm able to send emails from my Outlook account (exchange from work) and emails show up in a couple of subfolders, but not in the main inbox.    The account is my work exchange account.  My msn account is receiving and sending fine. 

    Have you upgraded to 10.7.3? Have you reset SMC and PRAM?     
    SMC:http://support.apple.com/kb/HT3964
    PRAM:
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Sync is not working with code from my Android

    I had to reinstall ubuntu 13.10 on my desktop and am trying to sync it back with my phone, but when i enter the 4x3 code it's asking me to create or sign in and enter my recovery key, except I can't get my recovery key from my phone.

    If your phone is still connected to the sync server then you need to get the 12-character code on the desktop computer and enter that code on the mobile device to pair the desktop computer.
    *Android OS > Settings > Accounts > Firefox Sync > Pair a new Device
    Both devices need to be online at the same time if you want to pair a device with the (3x4) 12-character code.<br />
    Sync needs to be set up and working on at least one computer, so you can enter the 12-character code, provided by the device (computer) that you want to pair, in three fields to pair a device on the computer/device that has a working Sync setup.

  • 1 out of 3 monitors not working with Yosemite upgrade

    I have a MacPro late 2013 3.5GHz 6-core running 3 monitors. A 23" Apple, 30" Apple and a 43" Sony running out on HDMI. Since upgrading to Yosemite I've lost the 30" monitor. Both the 23 & 30" are older monitors, non Thunderbolt, running through Apple connector. Everything worked in Maverick. Any fix or am I stuck waiting on Apple?

    Exactly the same issue.  My Eizo Coloredge was working fine after installation until (just now) I dared to do a restart...
    I have tried various different displays and connections over the past 20 minutes and have restarted my mac (late 2013 MBP 15' Retina) and connected / disconnected multiple times.  Neither my Coloredge via Thunderbolt or HDMI (no signal detected) is recognised, nor a Samsung LCD via HDMI.
    SO frustrating that something this basic should now be 'broken' when it was fine under Mavericks (and earlier OS).  Come on Apple, let's get a fix.  Plenty of people rely on external monitors.
    Sigh.
    Edit

  • TS1702 My TomTom does not work following the upgrade to IOS 6.0 - I am getting poor GPS reception on my iPhone 3 using my TomTom car kit ( worked fine prior to upgrade!). I have tried to reset Location Services with no luck! - Help...

    My TomTom does not work following the upgrade to IOS 6.0 - I am getting poor GPS reception on my iPhone 3 using my TomTom car kit ( worked fine prior to upgrade!). I have tried to reset Location Services with no luck! - Help...

    Aa2009 wrote:
    he could have a 3gs but doesn't state 3g or 3gs
    Look at his tag line  

  • Promemoria geolocalizzati non funzionano con iOs 7 location-based reminders do not work with iOs7

    promemoria geolocalizzati non funzionano con iOs 7
    location-based reminders do not work with iOs7

    Hi konekotron,
    See this manual about using the Apple Wireless Keyboard with your iPad -
    iPad User Guide
    http://manuals.info.apple.com/MANUALS/1000/MA1595/en_US/ipad_user_guide.pdf
    See page 25 and the section on using International Keyboards on page 125.
    A similar guide for the iPhone -
    iPhone User Guide
    manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    See page 28.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • IPhone 6 location services/gps not working

    Anyone else have an issue with iPhone 6 location services/gps not working? I have had it happen to me twice where it stopped working for good 7 or 8 hours and then all of sudden it starts working again. For example, directions don't work, every time I open Apple Maps it will say "Cannot determine location", then when I press the location icon on the bottom left, it will try to search again and have an approximate location but not exact, where as the iPad that I have right next to it is able to pin point the exact location. Sometimes the location circle is pulsing blue sometimes its gray. If I am driving and have tracking on it won't track, and so on.  I have tried to setup the phone as new without restoring the backup, when it stopped working with no luck, it still didn't work. I went and restore it back from backup and few hours later it started to work again. This has happened twice now since I got the phone last Friday.

    Check your "Privacy" settings on your iPhone see what apps are using your location.

  • My Time Capsule does not work with existing WiFi

    Following a question solved on March 24 by LaPastenague, but gone bad again.
    Apple AirPort Time Capsule
    I felt the need for a physical backup of my data, as I would not completely trust the different clouds. I use, and have used Dropbox for 4-5 years and are very satisfied with that, but I am still not sure if or when a political lunatic will shut off the internet.
    I purchased the Apple AP Time Capsule 2T, because all my other stuff are Apple, and that it's wireless. My old backup is Maxtor 300 GB.
    Since we stay 2-3 weeks on two locations, one in Norway and one in Sweden (two different countries) we must use Mobile Broadband 4G, cables or fibre connections are useless for us, and we don't have it up to the houses. I have one mini router for each country, we bring with us iPhones, iPads, iMac, Apple TV, APExpress. When we pass the boarder I change the mini router, and the system continues working perfect on the WiFi, except the APExpress that needs to be reconfigured,  but then it works.
    The APTC was difficult to make working as it would not accept to be in an existing network, but with good help from the Apple Community, LaPastenague, with forcing the TC connect to the APE with Ethernet cable in bridge mode, ref "My Time Capsule does not work with existing WiFi" from March 24, the problem was solved and all gadgets worked together in a perfect harmony, until we changed location.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    I have a slight feeling that the two WiFi bands are making the trouble as during the configuration of the TC sometime the last figure 6 and 7 pops up, and that has something two do with the two different 2,4 and 5 GHZ bands
    So, I am curious if you have any idea ?
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?

    I can deal with the last question first and easily.
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?
    Open the airport utility .. go to the disk tab and select erase.
    When you select erase you will get mulitiple options.
    Quick removes the file table but does not delete the files,, it takes 2min or less.
    A Zero out data is the secure way,, by writing 0 ie low level drive format.
    It can take several hours..
    7 pass will take a week.. not recommended..
    35 pass erase is ridiculous.. it would take a month.. put an ax through the TC. It is quick and better.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    The fact that it did work and has now failed might point to faulty unit.
    The only way to tell is reset it properly to factory and start over.
    Universal Factory Reset.. any model TC or AE.
    Unplug your TC/AE from power or turn off at the power point.
    Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. (this is often difficult without a 2nd person or a 3rd arm).
    Release it when the status light flashes rapidly. If it doesn’t flash rapidly you have missed it and try again.
    Note..
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations of the router.
    No files are deleted on the hard disk in a TC.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Generally having multiple wireless AP should not cause problems.. but it is better to set channels manually.. so it doesn't go beserk rotating channels.
    Remember to keep all names short, no spaces and pure alphanumeric.
    Sadly though the Apple routers have no logging now and no SNMP and almost nothing to help diagnose a problem, so if it continues .. take it back to apple.. they have given you no other method of fixing it.

  • IPhone (3,3G,4) does not work with Apple Universal Dock.

    I have a 3rd generation iPod Touch that has been upgraded to iOS 4. My iPod Touch will no longer sync via the Apple Universal Dock. Also, my new iPhone 4 also will not sync via the Apple Universal Dock.

    Trust a geek not to give up. I decided to get to the bottom of the "iOS device does not work with the Apple Universal Dock" problem. I noticed that the iPhone 4 and iPad came with slightly different USB-Dock adapter cables. I wondered if that might be the issue. My Apple Universal Dock was connected to my Mac via the original dock adapter cables which are slightly larger. I connected the newer cables between the Mac and the Apple Universal Dock and .... voila! Both the iPod Touch with iOS 4 and the iPhone can now connect via the Apple Universal Dock. Apple changed something in the way the adapter cables function.
    Of course I still have the problem with the car head unit dock adapter ... Sigh. I'll have to call Best Buy ( uughh! ) and find out if they'll do the update for me. The were the vendor authorized installer.

  • Better privecy does not work with windows vista home prem. what other program removes LSO'S AND HOW can I stop trackers?

    Question
    better privacy does not work with windows vista home prem. what other program removes LSO'S AND HOW can I stop trackers? edit
    Details

    As a temporary workaround, I believe this Adobe management page allows you to clear your "Flash cookies": [http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html Adobe - Flash Player : Settings Manager - Website Storage Settings panel] (hosted on macromedia.com -- Macromedia was the original developer of Flash).
    Regarding the script error, if I'm reading the script correctly, it is related to accessing your Flash cookies directory. It seems the publisher's support forum is not currently available for searching, but that might be a good next step.
    In the meantime, could you check whether the script has the correct location for your Flash cookies directory? If you can't access Tool > BetterPrivacy, you could check here:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''bpr''' and pause while the list is filtered
    (3) There should be a bolded setting named '''extensions.bprivacy.DataDir''' which looks approximately like the following:
    C:\Users\''yourWindowsUsername''\AppData\Roaming\Macromedia
    Do you have a similar value? If you paste the path used by BetterPrivacy into a Windows Explorer window, does it open? Also, click a couple levels in the folder, can you see:
    Flash Player \ #SharedObjects
    If the value is wrong, right-click the wrong value and choose Reset. BetterPrivacy should update the value the next time you try to access it.
    If the value is blank, you could try inserting a sensible value and see whether that helps.
    Any luck?

Maybe you are looking for

  • Return nothing when run Open Purchase order report(by Buyer)

    We implement iPro/PO in Oracle. I finished the PO setup. But now user report that they are not able to generate any output for a particular Buyer when they run the Open Purchase Orders Report(by Buyer) report in the PO module. Even I leave the parame

  • The Snippets Plug-In does not work anymore

    Hey there, i used this plug-in, where i get it from here. The snippets helped me to insert basic source code, like setter/getter-functions (i know that these function are implemented in flash builder ) and other things like whole switch-statements or

  • PC suite 6.86.9 is problematic on Virtual Windows ...

    Hi, Unfortunately, the version of 6.86.9 (current one) can't work reliably on Virtual PC 7 (Mac OS X), virtualised windows (Sun solution) on Intel Mac. 6.84.x one, available from CNET Download.com works fine except it crashes the phone if one tries t

  • How to disable App Nap in latest MacOS by default?

    As mentioned in AIR 3.9 release AIR now supports App Nap feature in latest MacOS (http://forums.adobe.com/message/5745066); but I'm not able to found any documentation on whether AIR provides any in-build feature/code to enable/disable App Nap while

  • Regarding issue in MM Module--Sale order generation & Purchase requiesition

    Dear Gurus I have one Quirey I have two plants and two profit centres One is  Mfg Plant and another one is  Service plant I am generating the sale order in Service plant but the purchase requisition to be generated in Mfg plant Please tell me the way