This is an example AEM Hello World artifact that will be deployed to an AEM Publish-Dispatcher instance.
This artifact contains:
- Apache configuration template(s) in
apache-conf-templates
directory - Apache Virtual Host template(s) and Apache RewriteMap template(s) in
virtual-hosts-templates
directory - AEM Dispatcher configuration template(s) in
dispatcher-conf-templates
directory - Static files in
static-assets
directory
Template files are written in Embedded Puppet template syntax.
Check out Dispatcher Template Parameters for a list of available parameters to be used from EPP template files.
To create artifact zip file:
make package
The artifact will be written at stage/aem-helloworld-publish-dispatcher-<version>.zip
After the deployment of AEM Hello World Publish-Dispatcher artifact and AEM Hello World package, the following URL paths should be accessible via AEM Publish-Dispatcher instance:
/content/helloworld
- Hello World page served from AEM Publish instance/cafe-helloworld
- a rewrite rule (using relative path) configured in Publish-Dispatcher instance/cafe/helloworld
- a rewrite rule (using absolute path) configured in Publish-Dispatcher instance/images/earth.jpg
- a sample static asset image served from Apache docroot