symbolic causes zm to fail
Posted: Thu Apr 09, 2009 12:34 am
I created a symbolic link for apache2 like
srv ->/m/srv
where /m/srv is a separate filesystem.
Also changed apache /etc/default-server.conf to allow symlinks; e.g.
Options FollowSymLinks SymLinksifOwnerMatch
Apache seems to work, at least in it's simplest form - I get "It Works" when I go to the website.
But Zoneminder is failing with a "Access forbidden", Error 403 when I try to go to the ZM console.
Looked in the ZM Options but didn't see anything to do with symlinks.
I see this in my /var/log/error_log:
[Wed Apr 08 20:36:09 2009] [error] [client 192.168.6.2] Symbolic link not allowed or link target not accessible: /srv, referer: http://myth/zm/
Seems there must be something else to set - either in Apache or ZM.
Any ideas?
Thanks
Jim
srv ->/m/srv
where /m/srv is a separate filesystem.
Also changed apache /etc/default-server.conf to allow symlinks; e.g.
Options FollowSymLinks SymLinksifOwnerMatch
Apache seems to work, at least in it's simplest form - I get "It Works" when I go to the website.
But Zoneminder is failing with a "Access forbidden", Error 403 when I try to go to the ZM console.
Looked in the ZM Options but didn't see anything to do with symlinks.
I see this in my /var/log/error_log:
[Wed Apr 08 20:36:09 2009] [error] [client 192.168.6.2] Symbolic link not allowed or link target not accessible: /srv, referer: http://myth/zm/
Seems there must be something else to set - either in Apache or ZM.
Any ideas?
Thanks
Jim