Skip to main content
clarkjason
New Member
December 9, 2021
Question

FortiWeb directing traffic based on virtual folders?

  • December 9, 2021
  • 1 reply
  • 1373 views

 

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

clarkjason
New Member
December 30, 2021

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.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!