Umbraco 是否允许非 umbraco 子域
您好,我正在将 Umbraco 安装到我网站的根目录。我还想将我的 WordPress 博客安装到根目录中的子文件夹中。
然而,对子文件夹的任何请求都会被 Umbraco 拦截,并且显示找不到文档 URL。有没有办法让 Umbraco 忽略某些子域?
Hi I am installing Umbraco to the root directory of my website. And also I want to install my wordpress blog to a subfolder in the root directory.
However any request to the subfolder is being intercepted by Umbraco and it is showing that document URL cannot be found. Is there a way to make Umbraco ignore certain subdomains?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以告诉 Umbraco 忽略 web.config 中的某些路径或文件夹。
您需要更新 web.config 的 appSetting 部分中的以下条目:
在其中添加您希望 Umbraco 忽略的子文件夹。
即,
our.umbraco.org 中有有关 Umbraco web.config 设置的更多详细信息
You can tell Umbraco to ignore certain paths or folders in the web.config.
You need to update the following entry in the appSetting section of the web.config:
Add the subfolder you wish Umbraco to ignore in there.
i.e.
There are more details on the Umbraco web.config settings in on our.umbraco.org
它对于绑定也很有用:
~/http-bind/
谢谢 Tim Saunders
it's useful for binding too:
~/http-bind/
Thanks Tim Saunders
您还可以使用 umbracoReservedUrls 告诉 umbraco 忽略特定页面:
You can also use
umbracoReservedUrls
to tell umbraco to ignore specific pages:这可以通过在 umbraco 站点中将博客设置为单独的应用程序来在 IIS 中进行设置。
但是,如果您尝试创建子域,则没有理由将其放在同一个站点中,我想说最好在 IIS 中创建一个单独的站点或购买另一个托管帐户来单独托管博客
This can be set up with in IIS by setting up the blog as a separate application with in the umbraco site.
However if you are trying to make a sub-domain there is no reason why this should be in the same site, I would say it is best to create a separate site with in IIS or purchase another hosting account to host the blog separately