When you run this on M1 Mac: ./bin/validate.sh ~/dev/git/our-web/dispatcher/src You get: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
reading immutable file list from /etc/httpd/immutable.file...
its the cloud SDK running locally, but I assume its the same issue on the hosted version. Ultimately, both have to work, and currently I can only chose between getting a UTF-8 char response, or a JSON response, I cant have both which is an issue for the API integrations which expect application/jso...
this is helpful, thanks. I see in the displatcher.cloud dir, are various subdirs, including conf.d and conf.dispatcher.d, enabled_vhosts, rewrites, virtualhosts, filters, etc. Any suggestions as to the best one to add this?
in AEM we have a home page, e.g. /content/site1/en/home.htmlwe can access this by entering www.oursite.com/content/site1/en/home.htmlBut if a user hits www.oursite.com they get a blank page.I am guessing we need to setup some sort of redirect in dispatcher, but didnt find any tutorials for this. Th...
Thanks for this. so components are easier to figure out how to write than page templates. Regarding the basepage.html, where would I find this? in the crx editor, I see /apps/mysite/components/page which has body.html. However, I dont think this is used anywhere. If I create a new page on our site...
I have been writing slingservlets to do backend functions, and testing with postman.However, sometimes I need to create a test HTML page, e.g. with a form to upload a file.In aem its easy to create pages, but you can only add text/images, you cant edit the HTML.Looking in the project, I cant see an ...
Thank you for this informative reply. Agreed doing URL rewriting/routing it in dispatcher would be easy, but this is static and requires releases to change. As our release cycle is typically months, this wont work as we need to change routing every time we get a new affiliate or want to exclude a sp...
if you use your own (sling)servlets in AEM, you can also write filters to do things like log request or add headers to any servlet based on a pattern, e.g. @component
@SlingServletFilter(scope = {SlingServletFilterScope.REQUEST},
pattern = "/bin/.*",
methods = {"GET","POST"}...