- IIS 8.5
- IIS URL Rewrite 2.0
- Download the latest release package.
- Unzip the package.
- Open a Powershell window and execute the
install.ps1
in the root of the packge.
.\install.ps1 -ApplicationName MyTopologManager -portNumber 8822 -CoreService_Domain mydomain -CoreService_UserName admin
- Open rdp session to the Tridion Content manager server.
- Browse to
%TRIDION_HOME%\TopologyManager\web
- Open web.config in your favourite text editor.
- Add the following code blocks in the correct section of the web.config and replace the
##G4TM_URL##
with the url that you have used to install G4TM. i.e.http://g4tm:88
<system.webServer>
<rewrite>
<rules>
<rule name="SpecificRewrite" stopProcessing="true">
<match url="/*" />
<conditions>
<add input="{REQUEST_METHOD}" pattern="^OPTIONS" />
</conditions>
<action type="CustomResponse" statusCode="200" />
</rule>
</rules>
</rewrite>
....
<httpProtocol>
<customHeaders>
<add name="Access-Control-Request-Headers" value="Content-Type,Authorization" />
<add name="Access-Control-Allow-Headers" value="Content-Type,Authorization" />
<add name="Access-Control-Allow-Origin" value="##G4TM_URL##" />
<add name="Access-Control-Allow-Credentials" value="true" />
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, PATCH, DELETE, OPTIONS" />
</customHeaders>
</httpProtocol>
</system.webServer>
- Save web.config
- Run
iisreset
.
Apache License 2.0