Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
访问;test.html“;从浏览器中选择以下url的页面http://mysharepointservername.com/test.html_Html_Iis_Sharepoint_Browser - Fatal编程技术网

访问;test.html“;从浏览器中选择以下url的页面http://mysharepointservername.com/test.html

访问;test.html“;从浏览器中选择以下url的页面http://mysharepointservername.com/test.html,html,iis,sharepoint,browser,Html,Iis,Sharepoint,Browser,我应该使用哪个目录放置test.html以使用以下url通过浏览器访问它: ? 如果我将文件放在C:\inetpub\wwwroot\wss\VirtualDirectories\80,则会出现404未找到错误 我是否应该使用另一个目录来放置test.html 提前感谢您可以在sharepoint中创建一个模块,并将test.html放在该模块下 并在elements.xml中写入: Elements xmlns="http://schemas.microsoft.com/sharepoint/

我应该使用哪个目录放置test.html以使用以下url通过浏览器访问它:

?

如果我将文件放在C:\inetpub\wwwroot\wss\VirtualDirectories\80,则会出现404未找到错误

我是否应该使用另一个目录来放置test.html


提前感谢

您可以在sharepoint中创建一个模块,并将test.html放在该模块下

并在elements.xml中写入:

Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="CustomPage" Url="">
    <File Url="CustomPage\test.html" Name="test.html" Type="Ghostable" />
  </Module>
</Elements>
元素xmlns=”http://schemas.microsoft.com/sharepoint/">
并使用此功能部署此模块

通过这种方式,您可以使用