Hi All !
Im a newbie in using Fortinets products and need your expertise to assist of the followings : -
User wanted to access https://my-website.com/ but want it to automatically redirect to https://my-website.com/irj/portal/ as root directory is empty.
Tried googling and testing through the Application > URL Rewriting Policy & Rule but to no avail. Any steps or KB that I can use to resolve this ?
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi @pewdiedan2
Add a URL rewriting policy that you use in your Web Protection Profile.
This policy will contain a URL Rewriting Rule like this:
So your redirect rule should look like this:
Another way to do is on your back-end Web server you can simply insert this code in your index.html, and no need to do anything on your FortiWeb.
<html> <head> <meta http-equiv="refresh" content="0; url='https://www.ibm.com'" /> </head> </html>
Hi @AEK ! Thanks for the reply!
I tested but its still not working. I've verified that the policy has been enforced.
Or is there any missing information on the rule i created ?
In the rewriting condition you entered "/irj/portal/" as URL. That's wrong. You should enter /index.html as explained before, which is the default page when you enter your site.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1662 | |
1077 | |
752 | |
443 | |
220 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.