Torrentflux and Zabbix Apache Include files??
SamanKaya at netscape.net
Sun Jun 6 12:04:52 UTC 2010
I am trying to migrate over from Linux to FreeBSD and although have been
using BSD for a few months now I really enjoy it and it's amazing
ability to be light yet powerful and secure at the same time. Not to
mention the UFS2 and ZFS filesystems which knowing UFS and ZFS from
Solaris really rock!!
Now am a first time user for Zabbix which came highly recommended; but
Torrentflux I have moved between Linux machines quite a bit without any
My issue for both of these ports is that I'm in need of configuring
Apache Include config files for them but having no luck in doing so.....
I'm not really used to the native BSD Apache config as with Linux the
httpd.conf or apache2.conf file is very different (similar to case to
Anyhow, I decided to use my standard Linux config file:
Alias /torrentflux /opt/torrentflux
of which kept spitting out "Permission Denied" errors??
On first glimpse one can already see that the alias and Directory
statements don't point to the port!! The ports path is
/usr/local/www/data/tf. I have tried pointing it to the port but also
get the same error??
The instance of Torrentflux in /opt is a migrated one from Linux. This
is in the Apache error log file:
[Sun Jun 06 14:41:07 2010] [error] [client 192.168.1.110] client denied
by server configuration: /opt/torrentflux/
it doesn't really explain much at all...... apart from the client
192.168.1.110 which is a reverse proxy using Squid.
I attempted to modify the file as I found a working Include file for use
with Drupal5 which I also have on the system. So the modification is
Alias /torrentflux /opt
# AllowOverride None
Allow from all
# <IfModule mod_dir.c>
# DirectoryIndex index.php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php index.html
Oh clump!!! Which I've just modded to /opt/torrentflux for the Alias and
the same for the <Directory> directive too.... I can't believe I missed
It works now finally but is asking for a MySQL database instance which
is easy!!! Few.....
Now for Zabbix as I haven't got anywhere that actually gives the Apache
I downloaded the PDF manual for it which doesn't actually even tell you
which URL to go for the main page so how do I get that info or will I
need to hack this one out like Torrentflux??
More information about the freebsd-ports