Forum Discussion
Richard_130847
Oct 15, 2013Nimbostratus
We need this for SEO, generates more traffic doing it this way from our SEO consultants.
- Mohamed_LrhaziOct 15, 2013AltocumulusThanks Richard.... It might be just me, but am not sure you are explaining your needs clearly enough. I am suspecting the solution to your needs is not in iRules or stream profile... Stream profile is for replacing a string with another, in the server response.... When we receive the HTML, or css or js, content from the back end server, and before we send it to the client, find every occurance of string foo, replace it with string bar. Is that really what you are asking about? You said those two domain names resolve to two different IP addresses... do you have a virtual server for each of those? each virtual has its own pool? or is it the same pool? What backend servers? why cant the back end server answer the request directly, instead of having to proxy it at the virtual server? Internet users somehow end up with this URL which they then need to request: http://how-to-buy-a-home.richmondamerican.com/some/path?maybe=some.params... That URL is a problem? Why? You dont have a Virtual Server + Pool that can handle it? Who created those URLs? Can it be fixed there? Anyways: On an F5 virtual server, using HTTP profile, you can indeed use "Stream Profile" to modify the content, usualy HTML/JavaScript/CSS... as text string find and replace. So you could say "requite this string, whereever oit may appear in byte stream, with this other string. See here for examples: "STREAM"