On Wed, 28 Nov 2012 15:52:16 +0100, Per Jessen <per@computer.org> wrote:
doiggl@velocitynet.com.au wrote:
On Wed, 28 Nov 2012 13:31:15 +0100, Per Jessen <per@computer.org> wrote: [snip]
I think this means there is a problem in the config:
/etc/apache2/vhosts.d/cacti.conf
Try posting it and I'll see if I can spot anything obvious. Still, if that is from an openSUSE package, it ought to just work.
-- Per Jessen, Zürich (5.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Hello,
/etc/apache2/vhosts.d/cacti.conf content as follows:
# cat /etc/apache2/vhosts.d/cacti.conf <?php /*
Well, that one's easy - that is not an apache config file, that's a PHP script. It probably belongs in the document root instead.
-- Per Jessen, Zürich (5.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Hello, File listing and content # 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 Oct 15 20:38 gif -rw-r--r-- 1 root root 44 Nov 21 2004 index.html -rw-r--r-- 1 root root 2356 Sep 24 04:51 info2html.css -rw-r--r-- 1 root root 26 Nov 16 02:44 robots.txt file content # cat /srv/www/htdocs/index.html <html><body><h1>It works!</h1></body></html> file owner # rpm -qf /srv/www/htdocs/index.html apache2-example-pages-2.2.22-8.4.x86_64 Next problem firefox http://127.0.0.1/ shows error: Unable to connect Firefox can't establish a connection to the server at 127.0.0.1. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. Observation: Firewall setting needs changing , but dont know which one. File listings: # ll /srv/www/ total 2 drwxr-xr-x 10 root root 1568 Nov 23 00:54 cacti drwxr-xr-x 2 root root 184 Nov 7 03:33 cgi-bin drwxr-xr-x 4 root root 128 Oct 15 20:38 htdig drwxr-xr-x 3 root root 200 Nov 16 12:33 htdocs # ll /etc/apache2/vhosts.d/ total 24 -rw-r--r-- 1 root root 2113 Nov 22 22:50 cacti.conf drwxr-xr-x 2 root root 80 Nov 23 00:54 conf.d -rw-r--r-- 1 root root 9265 Nov 16 02:44 vhost-ssl.template -rw-r--r-- 1 root root 4306 Nov 16 02:44 vhost.template Two Questions: - Which firewall settings needs changing to allow 127.0.0.1 in firefox ? - How should should I call/reference "/etc/apache2/vhosts.d/cacti.conf" PHP script/mysql from the apeche2 /srv/www/htdocs/index.html file ? Thanks for all the help. --Glenn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org