Forum Discussion
mika
Cirrus
Jun 17, 2020Redirection des URLs avec des expressions régulières
Bonjour, Je suis nouvelle dans l'utilisation de F5 (ltm +ASM), je veux faire une redirection des urls ayant un path variable, exmple(www.monsite.com/path/A1234 Vers www.monsite.com/NEW_path/A1...
mika
Cirrus
Jun 17, 2020Merci pour votre aide, voici la règle que j'ai utilisé et ça fonction.
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "www.lissac-opticien.fr" and [HTTP::path] starts_with "/C" } {
HTTP::respond 301 Location " https://www.lissac-opticien.fr/Lissac/home.asp?codeunique=[HTTP::uri]"
}
}
Bonne journée,
Malika
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