Skip to main content
Mohammedsalhi
Explorer
March 24, 2025
Solved

FortiWeb Host Rewriting-

  • March 24, 2025
  • 3 replies
  • 1237 views

Hello Dears,

 

Just wondering how I can rewrite the below host and the steps to do it.

 

x.example.com/portal-client


y.test:9443/portal-client

 

 

Thank you 

Best answer by AEK

It looks correct.

But why you put a dot (.) after the URL?  /portal-client"."

3 replies

Mohammedsalhi
Explorer
March 24, 2025

Could you please verify the attached file.

 

 

Taleb2025-03-24 132952.png

AEK
SuperUser
AEKAnswer
SuperUser
March 24, 2025

It looks correct.

But why you put a dot (.) after the URL?  /portal-client"."

AEK
Mohammedsalhi
Explorer
March 25, 2025

It is working now only for the first rule, but when I added.

2nd rule like 

x.example.com/Clienttest

y.test:9443/Clienttest

the writing is not Woking for the second rule 

This is the issue that I'm facing right now 

 

 

Mohammedsalhi
Explorer
March 26, 2025

@AEK  Any idea why it is not working when adding second rules ?

AEK
SuperUser
SuperUser
March 26, 2025

Hi Mohammed

Did you add the rule to the policy?

Can you pose screenshots of rules and policy?

AEK