AEM website and URL truncation using jcr resource resolver and/or etc map and/or apache mod_rewrite | Community
Skip to main content
perfecci0nista
Level 2
May 8, 2017
Solved

AEM website and URL truncation using jcr resource resolver and/or etc map and/or apache mod_rewrite

  • May 8, 2017
  • 1 reply
  • 1283 views

This is regarding the basic setup for a website to show as follows

Dispatcher direct URL of the site: devdispatcher.com/content/mytestsite/index.html  (devdispatcher.com is a virtualhost on my dispatcher)

IN order to access the above site using the following URL.

http://www.mytestsite.com

I have configured my hosts file to point to my local IP and I would like to know what exactly I need to do on JCRresolver and apache. 

also devdispatcher.com/content/mytestsite/articles/article-2017.html   should be accessible using

http://www.mytestsite.com/articles/article-2017.html  

For the above what is best method of implementation. Do we have any example or step by step procedure any where. 

Some articles says etc map and some resourceresolver and some apache. I am confused. Any article which has a recommended direction much appreciate. 

 

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

In your case I would recommend to use both dispatcher/webserver and /etc/map approach:

Sadly I don't have a good documentation available.

Jörg

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
May 8, 2017

Hi,

In your case I would recommend to use both dispatcher/webserver and /etc/map approach:

Sadly I don't have a good documentation available.

Jörg