Umbraco 是否允许非 umbraco 子域

发布于 2024-09-25 18:38:11 字数 140 浏览 1 评论 0原文

您好,我正在将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

云柯 2024-10-02 18:38:11

您可以告诉 Umbraco 忽略 web.config 中的某些路径或文件夹。

您需要更新 web.config 的 appSetting 部分中的以下条目:

umbracoReservedPaths

在其中添加您希望 Umbraco 忽略的子文件夹。

即,

<add key="umbracoReservedPaths" value="/umbraco,/install/,/wordpress/" />

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:

umbracoReservedPaths

Add the subfolder you wish Umbraco to ignore in there.

i.e.

<add key="umbracoReservedPaths" value="/umbraco,/install/,/wordpress/" />

There are more details on the Umbraco web.config settings in on our.umbraco.org

五里雾 2024-10-02 18:38:11

它对于绑定也很有用:

<add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/http-bind/" />

~/http-bind/

谢谢 Tim Saunders

it's useful for binding too:

<add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/http-bind/" />

~/http-bind/

Thanks Tim Saunders

莫相离 2024-10-02 18:38:11

您还可以使用 umbracoReservedUrls 告诉 umbraco 忽略特定页面:

<add key="umbracoReservedUrls" value="/mypages/regular-page.aspx" /> 

You can also use umbracoReservedUrls to tell umbraco to ignore specific pages:

<add key="umbracoReservedUrls" value="/mypages/regular-page.aspx" /> 
旧人 2024-10-02 18:38:11

这可以通过在 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文