Forum Discussion
mlroot_62824
May 14, 2010Nimbostratus
Rewrite rules introduces HTTPS for Weblogic
Has anyone come across this issue? We are trying to rewrite URIs to weblogic via an LTM with this rule:
when HTTP_REQUEST {
if { [HTTP::host] equals {f51}} {
...
Chris_Akker_129
May 20, 2010Historic F5 Account
If you disable the rewrite redirects in the http profile, the LTM will not change the protocol from http to https when the response from the server is 30x. This is done in the http profile under Settings, there is a checkbox - so check to make sure this is set to None. That should solve your http to https issue.
In version 9 and 10, the help explains this as:
Redirect Rewrite
Specifies whether the system rewrites the URIs that are part of HTTP redirect (3XX) responses. The default is None ( in Version 9.4 ).
None: Specifies that the system does not rewrite the URI in any HTTP redirect responses.
All: Specifies that the system rewrites the URI in all HTTP redirect responses.
Matching: Specifies that the system the URI in any HTTP redirect responses that match the request URI.
Nodes: Specifies that if the URI contains a node IP address instead of a host name, the system changes it to the virtual server address.
As far as the rest of your iRule, looks like you are trying to change the Hostname. See the examples on DevCentral iRules:
http://devcentral.f5.com/wiki/default.aspx/iRules.HomePage
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects