- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FortiADC redirect/rewrite to URL with portnumber
NOOB question alert ;)
I want to make a redirect/rewrite to an URL with an portnumber other than 80 or 443, for example https://newpage.com:8080. If I make a redirect or rewrite the FortiADC doesn't do anything with this portnumber. Cannot find an answer or example in the FortiADC manual.
Probably solvable with a regular expression, if so an example would be great.
- Labels:
-
FortiADC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As I understand, you want FADC to redirect HTTP requests containing the URL 'http://newpage.com' received from clients to 'https://newpage.com:8080'. Please correct me if I am wrong. If my understanding is correct, then there are two ways to achieve your requirement
1) Using the 'HTTP Redirect to HTTPS' option in the Virtual Server configured for HTTPS service.
- Test Results
OR
2) Using the Content Rewriting feature.
- Create a Content Rewriting profile
- Call the Content Rewriting profile in the Virtual Server configured for the HTTP service.
- Test Results
If you want the request containing http://newpage.com to be translated to https://newpgae.com:8080 while forwarding to the real server, please let me know. I can add some examples in this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, we will try both solutions and will let you know which one works best.
