Forum Discussion
Marco_Nietz_387
Nimbostratus
Dec 03, 2008Change a Profile Setting with iRules
Hi,
the Wiki for Profiles http://devcentral.f5.com/wiki/default.aspx/iRules.PROFILE starts with:
'These commands allow you to get or set information and options regarding...
hoolio
Cirrostratus
Dec 03, 2008Hi Marco,
I would guess that you cannot change the setting using PROFILE:: commands as the PROFILE::http wiki page states you can get (not set) the values. Maybe someone else can clarify this?
There is an existing CR requesting that F5 document the PROFILE:: commands (CR74323). Perhaps you could open a support case with F5 and ask for details on your question and have them attach your case to the CR. It would help raise the visibility of the request.
Also, depending on what you're actually trying to accomplish, you might be able to do it using the HTTP:: commands (Click here). Response chunking would either be enabled or disabled. If you want to prevent the server from sending a chunked response, you could set the HTTP version to 1.0 instead of 1.1:
http://devcentral.f5.com/wiki/default.aspx/iRules/CreditCardScrubber.html
when HTTP_REQUEST {
Don't allow data to be chunked
if { [HTTP::version] eq "1.1" } {
if { [HTTP::header is_keepalive] } {
HTTP::header replace "Connection" "Keep-Alive"
}
HTTP::version "1.0"
}
}
Thanks,
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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