Forum Discussion
How to increase the size of upload file size in ASM
- Jun 08, 2015
You can apply the following iRule to your virtual server: The "/upload" is in the path of the file you are uploading. Note that ASM is disable when uploading and malicious files could be uploaded in this particular location without detection...
++++++++++++++++ when HTTP_REQUEST { if {[HTTP::uri] contains "/upload" } { ASM::disable log local0. "ASM disabled." } else { ASM::enable /Common/ log local0. "ASM enabled. Current ASM policy is [ASM::policy]" } } +++++++++++++++++++
via system variable "long_request_buffer_size" untill 20MB
- ghost-rider_124Jun 08, 2015NimbostratusThank you but it will be for global level. If I would like to set the upload limit size only for one ASM policy. How could I do that?
- TortiJun 09, 2015Altostratustry it with the post data length of file types and the maximum length of the parameter
- ghost-rider_124Jun 09, 2015NimbostratusHi Torti. Could you please explain in detail. Appreciated !
- TortiJun 10, 2015Altostratuscan you explain, what you have for a problem with your app? do you get an error message?
Recent Discussions
Related Content
* 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