加载项 - SSL重定向405 - 不允许用于访问此页面的HTTP动词。 [英] Add-in - SSL Redirect 405 - HTTP verb used to access this page is not allowed.
问题描述
下午好。
使用加载项( SharePoint内部部署/在线提供商托管的跨域库。注册和配置加载项时,请使用默认SSL端口指定域(443)。
问题是当您重定向到网站时出现错误:
405 - 不允许使用用于访问此页面的HTTP动词。
405 - HTTP verb used to access this page is not allowed.
您要查找的页面无法显示b因为无效的方法(HTTP动词)是用于尝试访问的
。
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
重新加载页面时(F5),网站正常加载,即首次访问网站时发生错误。
推荐答案
您好,
请将以下代码添加到%userprofile%\ DocumentI \\ IISExpress \中的applicationhost.config文件中config。
Please add the following code into applicationhost.config file in %userprofile%\Documents\IISExpress\config.
<handlers>
...
<add name="AspNetStaticFileHandler" path="*" verb="*" type="System.Web.StaticFileHandler" />
<add name="StaticHTML" path="*.html" verb="GET,HEAD,POST,DEBUG,TRACE" modules="StaticFileModule" resourceType="File" requireAccess="Read" />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />
</handlers>
更多信息请点击此处:
http://rainerat.spirit.de/2012/09/03/SharePoint-2013-App-HTTP-Error-405.0/
最好的问候,
这篇关于加载项 - SSL重定向405 - 不允许用于访问此页面的HTTP动词。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!