Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Secure URL on a Dispatcher instance trying to get contents from publisher

Avatar

Level 2

We have a Secure URL on a Dispatcher instance. When we access it with an empty cache, instead of looking to the render and generating folders/files, it registers a "file not found" error for the first directory and gives up/returning a 404 for all the css, js, images etc.

When the URL is hit on the non-secure port, render is accessed, the files and folders are created and there is no error.

Hitting the URL on the Secure port again after that causes no errors as well, because the files and folders now exist from the non-secure Port access.

Can someone please comment how an HTTPS dispatcher URL get the contents from the publish renderer which is HTTP?

Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 2

It has been resolved. We found that apache web server was using the HTTP dispatcher url for pass through for HTTPS URL and that is why it was always using the HTTP virtual host entry at the dispatcher.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

It has been resolved. We found that apache web server was using the HTTP dispatcher url for pass through for HTTPS URL and that is why it was always using the HTTP virtual host entry at the dispatcher.