Forum Discussion
MatthewStyles_3
Nimbostratus
Mar 21, 2017Content redirection based on URL
Hello,
We currently have a website () where users visit and post messages. We are looking to add a file upload facility to that users can click on a link (e.g. ) and they are presented with a s...
Mar 21, 2017
Hi,
Leave the current pool as the default pool and apply this irule to your virtual server.
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/upload_files" } {
pool upload_pool
}
}
Change the name of the pool to your file upload pool.
The irule will send traffic to the file upload pool only if the uri starts with upload_files. If it doesn't match traffic will be send to the default pool.
Cheers,
Kees
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