cancel
Showing results for 
Search instead for 
Did you mean: 

SSP url redirect from SP4 to SP5 Afaria

Former Member
0 Kudos

Hi Experts

In the Afaria SP4 the SSP link used to be company.com/tenant_name but the SP5 has a new way of enrollment which has a root directory which changes the enrollment URL as company.com/root_dir/tenant_name. We dont want to change our enrollment URL after upgrading to SP5, is their a way for the SP4 enrollment URL to work exactly the same way in SP5 with some tweaking on the IIS? Whats the Impact of this?

Regards

Batish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I have found a way for this to work.

  • In your IIS Manager the Application Sites used for the SP4 wont be functional after SP5 implementation, we may delete that.
  • We can create a new application pool(Tenant Name)  and add the Physical Path to a separate individual folders in the root folder in inetpub folder.
  • Then for every tenant we can use HTTP Re-direct and redirect the URLs

Here would be the steps:

  1. Open iis manger
  2. Select “Default Web site”
  3. Now, right click “Default Web site”
  4. Select “Add Application”
  5. Alias, make it the domain/tenant name. Example : Tenant_Name
  6. Physical path, create any respective folder.
  7. Click OK
  8. Select “Tenant Name”.
  9. Open HTTP Redirect.
  10. Check, Redirect request to this destination:
  11. Insert the URL http://SSP name/root/Tenant_Name
  12. Click Apply.
  13. Test to confirm that this works. http://hostname/Relative URL

Note: Create a new empty folder in inetpub and give the physical path respectively.

Regards

Batish

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Experts

I understand that their is a need to exist default directory and if the relative URL is not mentioned by the user, the device will go in "System Tenant"

I will elaborate my expectations

SP4 URL: company.com/tenant_name

Currently working in SP5: devmms.mobilemanager.net/ROOT/tenant_name

Expected working in SP5: company.com/tenant_name  ( same as in SP4)


Regards

Batish

Former Member
0 Kudos

Install URL Rewrite module and put something like this in the ROOT web.config of your web server:

<rule name="Rewrite SP4 URLS to SP5 URLS" stopProcessing="true">

  <match url="^tenantA$|^tenantA/$" />

  <action type="Rewrite" url="/SP5_ssp_root/tenantA" />

</rule>

add 1 per SSP (or invent some clever regexp to handle more than 1 old ssp)

BR

Peter

Former Member
0 Kudos

I think a better solution is to apply HF6 to SP5 and then assign one of your SSPs as the default SSP. Then users gets sent to that SSP when no other SSP is specified.

BR

Peter

Former Member
0 Kudos

Hi Peter

When the users do a mistake in going to the SSP then they will get to the default SSP. Managing that again is a overhead task. Would like to have a solution if the users enter it correct(as in SP4) they should be able to go to their respective URL.We have multiple Teanant in same environment.

Regards

Batish

jtaylor
Active Participant
0 Kudos

thanks for the reply Peter. Somehow I missed that in the release notes for HF6!

Batish, from the release notes:


This release enables a default self-service portal (SSP) to be used, if no specific portal is specified on the URL. If a user browses to the self-service portal root virtual directory without the relative URL segment at the end of the URL, the system will look for an SSP record with the relative URL value of ‘system’ and use that. If no value exists, then the user must specify the relative URL value as part of the overall URL to indicate which self-service portal they are using in Afaria

jtaylor
Active Participant
0 Kudos

This can be done via URL Rewrite. There is a KBA available on it here:

https://bcp.wdf.sap.corp/sap/support/notes/2068156

Former Member
0 Kudos

Thanks John you saved a lot of my Teams efforts..
Will let you know if run into some issues related to this.

Thanks

Batish

jtaylor
Active Participant
0 Kudos

Thanks! Good luck!