0 votes

Is there a preferred method for setting the a default web interface so that when users browse to the base URL they will be redirected to it? For example, browsing adaxes.example.com will redirect to adaxes.example.com/SelfServ instead of the iis start page? I've tried use HTTP redirect on the default website with all the various options, but it causes all the sub-sites to be redirected as well, or a redirect loop. I assume the only option is to write a custom redirect page with rules, so looking for assistance with that.

by (2.5k points)

1 Answer

0 votes
by (215k points)
selected by
Best answer

Hello,

That can be easily done using a URL rewrite rule. To add the necessary rule:

  1. On the computer where the Web Interface is running, install the URL Rewrite Module for IIS. You can find it here.

  2. Launch Internet Information Services (IIS) Manager from Control Panel \ Administrative Tools.

  3. In the Connections Tree, expand the server that hosts Adaxes Web Interface.

  4. Select the web site where the Web Interface is hosted.

  5. In the middle pane, double-click URL Rewrite.

  6. In the Actions pane, click Add Rule(s).

  7. Select Blank rule.

  8. Click OK.

  9. Enter a name for the rule.

  10. In the Match URL section, specify the following parameters:

    • Match URL: Matches the Pattern;
    • Using: Regular Expressions;
    • Pattern: ^$
  11. In the Action section, specify the following parameters:

    • Action type: Redirect;
    • Redirect URL: http://{HTTP\_HOST}/AdaxesSelfService (where AdaxesSelfService is the name of the web application for the Web Interface that you want to redirect to);
    • Append query string: Yes;
    • Redirect type: Found (302).
  12. In the Actions pane, click Apply.

0

That's exactly what I was looking for, thank you, it works.

Related questions

0 votes
1 answer

I'm trying to enable SSO using SAML with AzureAD as the IDP. I'm struggling to get it to work, we use a BIG-IP as our loadbalancer which handles the SSL offloading. ... offloading or am I forced to remove the SSL offloading and do it on the server itself?

asked May 12 by Quinten (680 points)
0 votes
1 answer

Is it possible after a user logs in to be Redirect to the Home Page (if enabled) ? If so where would that need to be changed? I've found multiple difference Web Config ... where or how it gets redirected to the My Properties page so it can be changed. Thanks

asked Jul 23, 2019 by Helios5287 (510 points)
0 votes
1 answer

Trying to publish this in IIS so it can be viewed internally. But I'm not sure exactly how to go about doing that. I added it as a site in IIS then I couldn't get to the web interface.

asked Dec 10, 2019 by ktobbe (250 points)
0 votes
1 answer

I'm trying to retrive the Microsoft 365 License product name in a report as the 'Office 365 License' attribute in Adaxes shows each individual licensed product e.g. ... 365 F3"} } $productnames = $productnames -join ", " $Context.Value = $productnames

asked Jul 27 by richarddewis (1.5k points)
0 votes
1 answer

We have a specific group in AD that we do not want people to be able to modify in Adaxes. Is there a way to restrict the ability to modify a specific group in Adaxes?

asked May 21 by knowtheledge (880 points)
2,251 questions
2,011 answers
5,507 comments
25,325 users