I need some guidance on configuring a FortiWeb URL rewrite rule. I have URLs like this: 'https://example.com/placeholder/123,' where the end part, '/123,' can be any numeric value. My goal is to create a FortiWeb URL rewrite rule that captures this variable part of the URL and carries it over to the new rewritten URL.
Could someone kindly provide step-by-step instructions on how to set up such a rule in FortiWeb? I understand that I may need to use regular expressions and backreferences, but I'm relatively new to FortiWeb, and any assistance you can provide would be greatly appreciated!
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi @Ragman
May be the attached expression may help you. I haven't tested it but you may try it yourself to see if it works.
It matches "path/placeholder/Remaining URL" and then replace with "path/newplaceholder/Remaining URL". You can validate the Regex from the FortiWeb before apply the URL rewrite your VS Server policy.
Some reference here:
Let me know your thoughts and if any additional questions you may have.
Best Regards,
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1660 | |
1077 | |
752 | |
443 | |
220 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.