Zoneminder - Error 403 Forbidden

Forum for questions and support relating to the 1.28.x releases only.
Locked
sunbqto
Posts: 2
Joined: Mon May 09, 2016 11:38 am

Zoneminder - Error 403 Forbidden

Post by sunbqto »

Hi fellas

I cant get permiss to monitoring Zoneminder 1.28 over i686 gentoo 4.4.6

1.- Following this: https://wiki.gentoo.org/wiki/ZoneMinder
I can links http://ipaddress --> it's works!
I try links http://ipaddress/zm --> you don't have permission to access /zm on this server - 403 forbidden

2.- Following this: http://articles.slicehost.com/2009/10/1 ... al-hosts-1
I can http://www.mydomain1.com (virtual host) it's all ok

3.- this errors on /var/log/apache2/log_error:

[Mon May 09 06:02:05 2016] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.2g PHP/5.6.20-pl0-gent$
[Mon May 09 06:04:39 2016] [error] [client 192.168.0.10] client denied by server configuration: /usr/share/zoneminder/www

ls -l (/var/log/zoneminder)
drwxr-xr-x 2 apache apache 4096 May 7 20:22 db
drwxr-xr-x 13 apache apache 4096 May 9 05:54 www

on /var/log/apache2/ssl_error_log
[Mon May 09 07:00:03 2016] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name

my /etc/hosts
127.0.0.1 localhost
192.168.0.10 mydomain

I changed all permiss on apache/mysql, all ok
I tried but i cant resolve it. Any ideas, please!

Sorry my english / Thanks a lot!.

PD1: I tried ZoneMinder 1.29 over Ubuntu Server 16.04, Zoneminder dont work
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Zoneminder - Error 403 Forbidden

Post by knight-of-ni »

[Mon May 09 06:04:39 2016] [error] [client 192.168.0.10] client denied by server configuration: /usr/share/zoneminder/www
The key phrase in the error message here is "server configuration". That means the problem is not with your filesystem permissions, nor is the problem a ZoneMinder problem. The problem is an Apache web server configuration problem.

You need to review your entire Apache configuration and figure out where the problem lies. Since Apache 2.4's behaviour is to deny access by default, you are probably missing a "Require all granted" statement somewhere, but this is just a guess since you have not shown us your Apache configuration.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
sunbqto
Posts: 2
Joined: Mon May 09, 2016 11:38 am

Re: Zoneminder - Error 403 Forbidden

Post by sunbqto »

testing...
Locked