How do I create a simple resource resolver or /etc/map rule for an internal redirect? | Adobe Higher Education
Skip to main content
Level 3
October 16, 2015
Risolto

How do I create a simple resource resolver or /etc/map rule for an internal redirect?

  • October 16, 2015
  • 2 risposte
  • 803 visualizzazioni

Hi All.

I'd like to do a very simple internal redirect regardless of domain. For example, I want requests to

    /myapp

to map internally to

    /apps/mycompany/myapp

And anything under this path would be mapped appropriately. For example,

    http://localhost:4502/myapp/whatever.js

would return the file located at

    /apps/mycompany/myapp/whatever.js

Is there a way to do this? I'm on AEM 5.6.1.

Thanks!

David Frenkiel

Questo argomento è stato chiuso alle risposte.
Migliore risposta di smacdonald2008

You can work with out of the box functionality:

http://docs.adobe.com/docs/en/cq/current/deploying/resource_mapping.html

For more advanced use cases that require link rewriting, etc -- see:

http://helpx.adobe.com/experience-manager/using/creating-link-rewrite.html

2 risposte

smacdonald2008
Level 10
October 16, 2015

You can work with out of the box functionality:

http://docs.adobe.com/docs/en/cq/current/deploying/resource_mapping.html

For more advanced use cases that require link rewriting, etc -- see:

http://helpx.adobe.com/experience-manager/using/creating-link-rewrite.html

Level 3
October 16, 2015

Thanks, Scott. It was all about the trailing slash for me.