Hello,
I have some apache questions on opensuse 13.1:
I am trying to use this as a guide but no luck.
http://en.opensuse.org/Cacti
- I have a file /srv/www/cacti/include/config.php with these parameters in it:
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactipasswd";
$database_port = "3306";
# cat /etc/apache2/default-server.conf | grep -i root
DocumentRoot "/srv/www/htdocs"
ll /srv/www/htdocs
total 16
-rw-r--r-- 1 root root 302 Mar 13 2006 favicon.ico
drwxr-xr-x 2 root root 208 Apr 15 05:20 gif
-rw-r--r-- 1 root root 45 Jun 12 2007 index.html
-rw-r--r-- 1 root root 2356 Sep 28 2013 info2html.css
-rw-r--r-- 1 root root 26 Apr 4 21:02 robots.txt
Questions:
1. What do I replace index.html with, to call up a mysql/apache application with parameters shown in /srv/www/cacti/include/config.php as shown
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactipasswd";
$database_port = "3306";
2. How do I call up the cacti application I believe it starts with
http://127.0.0.1/
3. whats missing in the install guide ?
http://en.opensuse.org/Cacti
4. Unsure if the DocumentRoot is set properly.
# httpd2 -S | grep -i root
ServerRoot: "/srv/www"
Main DocumentRoot: "/srv/www/htdocs"
# ll /srv/www/htdocs
total 16
-rw-r--r-- 1 root root 302 Mar 13 2006 favicon.ico
drwxr-xr-x 2 root root 208 Apr 15 05:20 gif
-rw-r--r-- 1 root root 45 Jun 12 2007 index.html
-rw-r--r-- 1 root root 2356 Sep 28 2013 info2html.css
-rw-r--r-- 1 root root 26 Apr 4 21:02 robots.txt
-not sure if this is needed.
# cat /srv/www/htdocs/index.html
<html><body><h1>It works!</h1></body></html>
Help appreciated.
--Glenn