Salesforce

Defining Your Own Web Aliases (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Defining Your Own Web Aliases (Magic xpa 2.x)

If you need to expose some files, it is recommended to define a new alias or aliases. You do this in IIS.

  1. Open the IIS manager (type inetmgr in the Start > Run menu or right click on Computer and select Manage > Services and Applications > Internet Information Services (IIS) Manager).

  2. When the IIS Manager opens, right click on Default Web Site and select the Add Virtual Directory option.


  3. In the Add Virtual Directory dialog box, give your alias a name, select the physical path and click OK.

  4. Give the new alias Execute permissions.

    1. Park on the alias and double-click Handler Mappings.

  1. Place your cursor on the relevant file (either ISAPI-dll or CGI-exe) and click the Edit Feature Permissions action.

  1. Select the Execute check box.

  1. Check to see that the MGrqispi.dll and MGrqcgi.exe files also have Execute rights.

    1. Go to the Root (which would be the machine name) in the Connections window.

    2. Double click ISAPI and CGI Restrictions.

  1. For the script that you want to work with, look at the Restricted column. If you see the word Allowed, then the Execute right is already assigned and you can skip steps 10-11.

  1. If it says Not Allowed, in the Actions window, click Add.

  1. Provide the path of the MGrqispi.dll/MGrqcgi.exe and the description.

  2. Select Allow extension path to execute and click OK.

  1. Now you can use this alias whenever you refer to external files. Remember that you also need to define this alias in the exact same way in the deployment environment.

Reference
Attachment 
Attachment