I have the following problem.
Usecase: Serve a few pages of the site via SSL.
I have enabled SSL on apache webserver such that while accessing certain pages, via mod_rewrite requests are made through SSL.
CQ Publish <---- http ----> Webserver <---- https ----> End user
Webserver/dispatcher and publish server communicate via "http" only.
Problem: Since the protected page is initially not present in the cache, accessing it via https returns 404. How should I enable caching of pages accessed via "https"?
I had missed to include the following section under the virtualhost SSL setup in httpd.conf file.
This resolves the issue.