I've installed cacti via ports on freeBSD 5.2.1
and cacti is generally working.
But I have a big problem with the webserver Apache2:
# apachectl -v
Server version: Apache/2.0.52
Server built: Oct 15 2004 11:25:29
it works only if I try in the browser:
http://localhost/cacti/
or
http://localhost/cacti/index.php
and
http://localhost/cacti
doesn't work and I get following error:
" Not Found
The requested URL /cacti was not found on this server.
Apache/2.0.52 (FreeBSD) PHP/4.3.9 Server at 127.0.0.1 Port 80 "
cacti is installed at:
/usr/local/share/cacti
and I've added to to Apache's httpd.conf the following:
Code: Select all
Alias /cacti/ "/usr/local/share/cacti/"
<Directory "/usr/local/share/cacti">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals On
php_flag register_argc_argv On
php_flag track_vars On
php_value include_path .
DirectoryIndex index.php
</IfModule>
</Directory>