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

FortiWeb directing traffic based on virtual folders?

 

Is it possible to set up the cloud-hosted FortiWeb  to direct (Endpoint)  URLs (Say we call them folders) to the origin as follows

 

(Endpoint) domain.com/folder1 --> Send traffic to Domain A on Origin server

(Endpoint) domain.com/folder2 -->Send traffic to Domain B on Origin server

(Endpoint) domain.com/folder3 --> Send traffic to Domain C on Origin server

 

(Or could be different Origin servers if that works).

 

We currently have domains in Microsoft IIS on-premise we want to move and wondering if we can manage the concept of virtual folders through fortiweb to go to different back end domains.

 

Thanks

1 REPLY 1
clarkjason
New Contributor

Having spent some more time on this I think the terminology I need Is to "Rewrite Host" under Rewriting Requests.

 

However, using this I would rewrite the host based on the URL e.g.


Action: Rewrite Host

Rewrite From: (.*)/folder1

Rewrite To: www.domain2.com

But Fortiweb cloud doesn't work when I include a path after the "Rewrite From"

Is this supported or are there other options?

 

Thanks.

Labels
Top Kudoed Authors