Cognos TM1 Server에 대한 SharePoint 링크로 인해 403이 발생함

Cognos TM1 Server에 대한 SharePoint 링크로 인해 403이 발생함

SharePoint에서 Cognos TM1 URL로의 직접 링크로 인해 403이 발생하는 이상한 문제가 있습니다. 그러나 링크를 새로 고치거나 붙여넣으면 작동합니다.

원인은 선행 "http"가 제거되는 것과 관련이 있을 수 있지만(다른 브라우저의 경우 아래 참조) 원시 HTML 링크나 Fiddler 결과에서는 명확하지 않습니다.

여기에 이미지 설명을 입력하세요

원인/수정 사항에 대한 의견이 있으십니까?

SharePoint 메뉴 항목에서:

GET http://server:9510/tm1web/ HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: http://portal/Pages/home.aspx
Accept-Language: en-AU
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Host: server:9510
Connection: Keep-Alive

결과 [실패하다]:

HTTP/1.1 403 Forbidden
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Mon, 23 Feb 2015 01:25:29 GMT

403 이후 브라우저에서 F5/새로 고침을 누르세요.

GET http://server:9510/tm1web/ HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-AU
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Host: server:9510
Cookie: JSESSIONID=6A01B8265CC22BD13A9DD46575A6485F; DWRSESSIONID=gIilAwYv2K33Yahd$G7keNo4QKk

결과 [공장]:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Encoding: gzip
Content-Type: text/html;charset=UTF-8
Content-Length: 684
Date: Mon, 23 Feb 2015 01:43:40 GMT

기타 브라우저:

  • Chrome도 403을 수신하지만 URL 앞에 "http"가 표시되지 않습니다. 이는 F5 키를 눌러도 아무런 영향을 미치지 않음을 의미합니다.

여기에 이미지 설명을 입력하세요

  • Firefox는 Chrome과 동일합니다.

여기에 이미지 설명을 입력하세요


해결 방법은 페이지가 있는 비SharePoint 웹 서버를 사용하여 리디렉션(예: HTML META 리디렉션)을 수행하는 것입니다.

우리는 생각했다PermissiveXFrameHeader모듈 HTTP Module문제가 발생할 수 있지만 개발 서버에서 비활성화하면 여전히 문제가 발생합니다.


추가 예:

SharePoint Redirect페이지에서:

GET http://portal/Pages/TM1-Redirect.aspx HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: http://portal/Pages/home.aspx
Accept-Language: en-AU
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Host: portal
Connection: Keep-Alive
Cookie: ...

결과 #1 - 리디렉션:

HTTP/1.1 302 Found
Cache-Control: private, max-age=0
Content-Type: text/html; charset=utf-8
Expires: Sun, 08 Feb 2015 01:45:45 GMT
Last-Modified: Mon, 23 Feb 2015 01:45:45 GMT
Location: http://server:9510/tm1web/
Server: Microsoft-IIS/8.0
X-SharePointHealthScore: 0
X-AspNet-Version: 4.0.30319
SPRequestGuid: 9664ec9c-9790-10c2-3b44-67b194daa158
request-id: 9664ec9c-9790-10c2-3b44-67b194daa158
SPRequestDuration: 74
SPIisLatency: 0
WWW-Authenticate: Negotiate ...
Persistent-Auth: true
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 15.0.0.4561
X-Content-Type-Options: nosniff
X-MS-InvokeApp: 1; RequireReadOnly
Date: Mon, 23 Feb 2015 01:45:45 GMT
Content-Length: 146

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://server:9510/tm1web/">here</a>.</h2>
</body></html>

결과 #2 - [실패하다- 같은 상기와]:

HTTP/1.1 403 Forbidden
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Mon, 23 Feb 2015 01:45:45 GMT

답변1

이 문제를 해결하려면 다음과 같이 tm1web_config.xml 파일을 수정하십시오.

이것을 바꿔라

<add key="CrossDomainAccessList" value="" />

에게

<add key="CrossDomainAccessList" value="*" />

응용 프로그램 서버 서비스를 다시 시작합니다.

관련 정보