Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
profeta
New Contributor

Fortiweb Redirect based on URI from URL

Hi all,

 

I would like to redirect from a generic URL base on the URI of it to diferent ports on diferent ports as you can see on the image.

I try url redirect but is not working.

Should I create a policy without any virtual server?

2 REPLIES 2
Yurisk
SuperUser
SuperUser

Redirecting/rewriting will not do the job as it works on content of the headers/body already.  You can set custom listening port of the physical server Server Objects -> Server Pool -> Edit Server Pool -> Edit Server Pool Rule -> Port <set to the custom port you want>. The tricky part is to separate those physical servers pool by the URL part of the domain.

 

Yuri https://yurisk.info/  blog: All things Fortinet, no ads.
Yuri https://yurisk.info/ blog: All things Fortinet, no ads.
Yurisk

Here is the step by step instructions how to do it (if not for the original author then for the future reference).

The forum software does not support PDFs, so I put it on the Internet: https://yurisk.info/assets/FortiWeb-Content-Routing.pdf  

 

Yuri https://yurisk.info/  blog: All things Fortinet, no ads.
Yuri https://yurisk.info/ blog: All things Fortinet, no ads.
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors