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

How to redirect url to sharepoint site using fortiweb

I want to redirect url hub.mydomain.com to https://mydomain1.sharepoint.com/sites/headoffice. Can you please let me know if is possible to rewrite url using fortiweb rewrite feature and how.
Thanks

6 REPLIES 6
AEK
SuperUser
SuperUser

AEK
ArifS
Contributor

I tried this and it does not load sharepoint page. Request comes to fortiweb, but when it reach to sharepoint it gives error. 

AEK
SuperUser
SuperUser

Can you share the redirection rule and the error message?

AEK
AEK
ArifS
Contributor

Foriweb_url_rewrite.jpgError in browser:

"<h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.""</p>0qG1IZQAAAAB43T6Vm+RiRrZhmIxsKQXeU1lEMDNFREdFMDgxMwBFZGdl"

 

 

 

AEK
SuperUser
SuperUser

I think the good way to do so is to add a simple redirection (301) on your web server hub.mydomain.com.

AEK
AEK
emete_FTNT
Staff
Staff

Hi Arif,

Please try the rule below. This rule will redirect https://hub.mydomain.com/ to https://mydomain1.sharepoint.com/sites/headoffice (It won't redirect all sub URLs under the hub.mydomain.com host but only /. If you need to redirect all sub URLs to the same SharePoint URL, then use (.*) instead of ^/$).

URL Redirect Sharepoint.png

Labels
Top Kudoed Authors