Forum Discussion
Apr 30, 2008
A couple of things. First, your first iRule is redirecting to https://www.domain2.com/account*. Have you tested that this URI works on it's own outside of the iRule. Also, I'm assuming that this iRule is NOT on the https virtual for www.domain2.com, otherwise you'll get yourself into a infinite loop.
As for your second iRule working, that one is redirecting to "http://www.domain2.com/...", which is NOT the https VS that the first iRule is redirecting to. Was this intentional?
I would try the redirected URIs manually and see if they work. It could be that the server error is coming from the www.domain2.com server after the browser has been redirected.
As hoolio said, if you could pass along the setup of which virtuals are what and which ones have the iRules on them, it will take some of the guessing out on our part.
-Joe