如何防止在AEM中暴露内容层次结构路径?我正在寻找AEM级别和Dispatcher级别的替代方案 [英] How can I prevent exposing of content hiererchy paths within AEM? I am looking for alternatives both at AEM level as well as Dispatcher level

查看:127
本文介绍了如何防止在AEM中暴露内容层次结构路径?我正在寻找AEM级别和Dispatcher级别的替代方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,您将如何实现:
a。将热门网站www.mysite.com转换为www.mysite.com/en和
b。将上面的www.mysite.com/cn翻译成/content/mysite/en.html

As an example, how would you achieve: a. Translate a hit to www.mysite.com to www.mysite.com/en and b. Translate the above www.mysite.com/en to /content/mysite/en.html

推荐答案

看看资源映射:

  • https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/resource-mapping.html
  • https://docs.adobe.com/docs/en/dispatcher/disp-domains.html#URL%20Mapping

您可以进行映射,以便传入URL(用户在浏览器中看到的内容)是一回事,而AEM在处理传入请求时看到的URL是另一回事。

With mapping you can make it so the incoming URL (what the user sees in their browser) is one thing, but the URL that AEM sees when processing the incoming request is something else.

另请参见:

  • URL Mapping based on Resource resolver in AEM
  • How to map urls?
  • https://cqdump.wordpress.com/tag/etcmap/

这篇关于如何防止在AEM中暴露内容层次结构路径?我正在寻找AEM级别和Dispatcher级别的替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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