Hello,
I'm trying to install zabbix-server over lighttpd. I believe I have
zabbix-server and php5-fpm working correctly. The bottom of the log
files do not show any errors. But every time I hit the web server I get
a 403 Forbidden error. It's most likely a lighttpd configuration error
but I cannot figure out where I went wrong. (I always get confused with
lighttpd conf files!)
Below is the conf file I am using:
=======================
server.modules += ( "mod_simple_vhost" )
$HTTP["host"] =~ "(^|www\.)example.com" {
simple-vhost.server-root = "/srv"
simple-vhost.document-root = "htdocs"
simple-vhost.default-host = "www.example.com"
}
$HTTP["host"] == "zabbix.example.com" {
alias.url += (
"/zabbix/" => "/usr/share/zabbix/"
)
}
=======================
www.example.com works just fine. There are also a couple of django sites
served by gunicorn that work.
Here's the log entry for zabbix.example.com:
========================
xxx.xxx.xxx.xxx zabbix.example.com - [05/Jun/2014:00:09:35 +0000] "GET
/zabbix/ HTTP/1.1" 403 345 "-" "Mozilla/5.0 (X11; Linux x86_64)
AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116
Chrome/34.0.1847.116 Safari/537.36"
=========================
- /etc/zabbix/zabbix.conf.php is owned by www-data.
- I've created a /srv/zabbix.example.com/htdocs directory tree owned by
www-data.
Don't where else to look. Any suggestion will be appreciated.
Thanks in advance.
--
Philippe
------
The trouble with common sense it that it is so uncommon.
<Anonymous>
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/538fbe1b.7080...@gcal.net