Dispatcher not caching any file
My website is not caching any file in the dispatcher, even though all permissions seem to be OK.
I cleared the bare docroot folder: /opt/aem/dispatcher/docroot/ to be on the safe side, but no affect.
The dispatcher and Error logs look like below. Not sure why the 'permission denied' error is there in disp logs. The 'docroot' folder is owned by 'apache' user with 0755 access.
Dispatcher log
[Mon Jul 24 10:43:41 2017] [D] [pid 20837] cachefile does not exist: /my/file/path/file.jpg
[Mon Jul 24 10:43:41 2017] [D] [pid 20837] try to create new cachefile: /my/file/path/file.jpg
[Mon Jul 24 10:43:41 2017] [D] [pid 20837] cache-action for [/my/file/path/file.jpg]: CREATE
[Mon Jul 24 10:43:41 2017] [D] [pid 20837] Reusing socket: <Publish-IP>:4503
[Mon Jul 24 10:43:41 2017] [D] [pid 20837] Connected to backend rend01 (<Publish-IP>:4503)
[Mon Jul 24 10:43:41 2017] [E] [pid 20837] Unable to create parent directory /opt/aem/dispatcher/docroot/my/file/path: Permission denied
[Mon Jul 24 10:43:41 2017] [D] [pid 20837] response.status = 200
Error log
[Mon Jul 24 10:46:47.028012 2017] [core:info] [pid 20841] [client <dispatcher-IP>] AH00129: Attempt to serve directory: /opt/aem/dispatcher/docroot/
[Mon Jul 24 10:46:47.028027 2017] [headers:debug] [pid 20841] mod_headers.c(848): AH01503: headers: ap_headers_error_filter()