Forum Discussion
Ken_Wong_48678
Sep 20, 2005Historic F5 Account
change content type by irule
Hi guys,
I have written a test irule to change the content type of a specific page. I would like to change the content type of main.css from text/css to application/x-javascript.
...
unRuleY_95363
Sep 20, 2005Historic F5 Account
I think the original problem was simply that your HTTP_REQUEST event is always resetting par back to 0.
I think you want to have an "else { set par 0 }" in your HTTP_REQUEST event.
I'm not sure why Joe thought you needed a global variable... ?
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