Skip to content
View in the app

A better way to browse. Learn more.

hosang I.T.

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unable to Redirect using Policy

(0 reviews)

Ran into an issue last night where I had to redirect

https://example.thezah.com/

to

https://example.thezah.com/?idp_id=two

 

Attempted a few different way of redirecting the URI in the Policy and they all didn't work.  Ran into a few issues...

When creating the Redirect_URI policy under the do the following: Replace - HTTP URI - path with value /?idp_id=two at request time

What would happen is when you enter the value /?idp_id=two and save F5 would change it to /\?idp_id=two and my assumption is its using reg-ex to escape the ? so I used the URL encode for question mark which is %3F so it looked like /%3Fidp_id=two and still no luck.

Then realized they were breaking because to use policies you need an HTTP Profile (Client) of http.

Then we added an SSL Profile (Client) with the FQDN in for example.thezah.com and also add the F5 default SSL Profile (Server) called serverssl

The Policy still wouldn't work so created an iRule like the one below

when HTTP_REQUEST {
   if { [HTTP::uri] equals "/" } {
      HTTP::uri "/?idp_id=two"
   }
}

Assigned the iRule to the Virtual Server Resources and now we are in business.

0 Comments

Recommended Comments

There are no comments to display.

Guest
Add a comment...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.