My platform is CSS11503-AC
Is it possible to take a post with associated passed parameters? ie
and rewrite it to something like http://www.two.com/crinput.jsp and retain the passed parameters.
My attempts to use a redirect changes from a "post" to a "get" and loses the attached info.
Solved! Go to Solution.
I posted a similar question before, can you please refer us to a link or a document which talks about this and reads that this is not supported in CSS.
By following the below link he can do rewrite the url but absolutely not to change the domain itself:
Read the question carefully.
What he wants to do is extract part of the url to build a new one.
If you know a way to do it, I'll be glad to learn it.
Thanks for your (1) rating.
I meant to remove the rating but it didn't work, my apologies on this as with this particular scenario URL rewriting won't work. URL redirection can however be configured according to the link I previoulsy sent.
I'm rating you full 5 points here.
Hi Davisson and Gilles,
I did further investigation on this and figured out a way on how to do url rewriting for the complete path including the domain; you need to configure the following:
ip address 2.x.x.2
keepalive type none
add service redirect_url
Hope this makes sense to you.
I don't think that this will solve what he wants. He seems to want to go from:
We have developer at our site that want the CSS to do this also but I haven't found any way of doing it, and I don't believe that it can be done.
Am I wrong? If so, could you expand on your solution, please.
Yes it's doable; in the redirect CONTENT you can specify the url command to be like this:
This will match requests to www.abc.com with the full path (i.e. www.abc.com/whatever).. On the other hand, if you want to redirect requests to www.abc.com without typing any sub-directoy directory below it then your url command should be as follows:
As you see, without *, any request to abc without any sub-directories being entered will match this rule.
Next, you need to define what you want the url to be redirected to, under the redirect service using the redirect-string command mentioned in my previous post.
Hope it's clear now. Please let me know if it didnt work with you so I can assist more on this as it worked with me.
be carreful when answering questions.
Your participation is appreciated but you seem to rush quickly to a solution without first understanding completely the question.
In this case, the question is "how to capture any url, extract part of the full path, and create a new url based on this path ?"
The solution you give us is well-known to redirect any url to 1 static, pre-configured url.
This is not the question for this thread.
And, there is no need to search for a solution, because as a software engineer working with the CSS code, I can tell you there is no solution.
Again, thanks for your participation, but please make sure to fully understand the question next time you decide to answer.