My last remaining problem is the "No live view, no thumbnails" . How many times we've seen this and still baffles me

Just like
viewtopic.php?t=33907 and tried the suggestion to create a soft link
Code: Select all
ln -s /var/cache/zoneminder/ /var/cache/zoneminder/cache
but still the same, didn't solve it.
I've been reading Apache man pages to understand the settings that I think the 404 is because I think the path to cgi is fine but to the cache perhaps isn't.
Please help me spot the flaw.
/etc/zm/conf.d/01-system-paths.conf
Code: Select all
# Full path to the folder events are recorded to.
# The web account user must have full read/write permission to this folder.
ZM_DIR_EVENTS=/var/cache/zoneminder/events
# ZoneMinder url path to the zms streaming server
#ZM_PATH_ZMS=/zm/cgi-bin/nph-zms
ZM_PATH_ZMS=/usr/lib/zoneminder/cgi-bin/nph-zms
/etc/apache2/sites-available/zoneminder.conf
Code: Select all
DocumentRoot "/usr/share/zoneminder/www"
# Order matters. This alias must come first.
Alias /zm/cache "/var/cache/zoneminder/cache"
<Directory "/var/cache/zoneminder/cache">
Options -Indexes +FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order deny,allow
Allow from all
</IfModule>
</Directory>
I have also before creating the link, in apache's zoneminder.conf I tried instead with:
Code: Select all
DocumentRoot "/usr/share/zoneminder/www"
# Order matters. This alias must come first.
Alias /zm/cache "/var/cache/zoneminder"
<Directory "/var/cache/zoneminder">
Options -Indexes +FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order deny,allow
Allow from all
</IfModule>
</Directory>
because in my installation the directory /var/cache/zoneminder/ is where events subdir is ie /var/cache/zoneminder/events , see:
Code: Select all
penguin@venus:~$ tree -d /var/cache/zoneminder
/var/cache/zoneminder
├── cache
│ └── zoneminder -> /var/cache/zoneminder/
├── events
│ ├── 1
│ ├── 2
│ ├── Back -> 2
│ └── Front -> 1
├── images
└── temp