在并行plesk面板中托管网站时出错 [英] error in hosting website in parallels plesk panel

查看:124
本文介绍了在并行plesk面板中托管网站时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在并行plesk面板中托管了一个网站.然后显示错误,添加了自定义错误页面="RemoteOnly" default.redirect = ........ i,将其添加到web.config页面并设置为default.aspx IIS管理器中的页面...然后我删除了该网站,然后再次上传,然后显示了相同的错误...这是什么原因?...有时这可能是一个简单的问题.请帮助我托管我的网站


I hosted one website in parallels plesk panel.Then it show error to add custom error page="RemoteOnly" default.redirect= ........i add as said to the web.config page and made a default.aspx page in IIS manager...then i deleted the website and again uploaded then it showing the same error...what will be the reason?...sometime it may be a simple question.please help me to host my website

推荐答案

似乎是您第一次设置默认页面.但是当您再次重新上传它时,它将再次使默认页面相关的配置失效.

请在您的web.config中进行以下更改.

It seems first time you set the default page . but when you reupload it again it again overeright the default page related configuration.

Please do following changes in your web.config.

<system.webserver>
  <defaultdocument>
    <files>
      <clear />
      <add value="Your page Name here" />
    </files>
  </defaultdocument>
</system.webserver>



希望以上解决方案对您有帮助!



Hope above solution will help you !!


这篇关于在并行plesk面板中托管网站时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆