LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   /srv/www/htdocs/index.html content opensuse apache/lamp/cacti test server 127.0.0.1 (https://www.linuxquestions.org/questions/linux-software-2/srv-www-htdocs-index-html-content-opensuse-apache-lamp-cacti-test-server-127-0-0-1-a-4175477310/)

Glenn D. 09-16-2013 09:35 AM

/srv/www/htdocs/index.html content opensuse apache/lamp/cacti test server 127.0.0.1
 
Hello,
I am trying to create a /srv/www/htdocs/index.html content for a opensuse
apache/lamp/cacti test server on http://127.0.0.1/
I am trying to use the software listed in [2].
Using this Documentation in [2]

currently I get this error[1]

files in /srv/www/htdocs/ are:
# ls /srv/www/htdocs/
gif info2html.cs

Question:
What should the content of /srv/www/htdocs/index.html be, to call up the
cacti installation screens as listed in the documentation [2]
Thankyou Glenn

[1]
Access forbidden!

You don't have permission to access the requested directory. There is
either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.
Error 403
127.0.0.1
Apache/2.4.6 (Linux/SUSE)

[2]http://en.opensuse.org/Cacti

bathory 09-17-2013 02:30 AM

Quote:

files in /srv/www/htdocs/ are:
# ls /srv/www/htdocs/
gif info2html.cs

Question
What should the content of /srv/www/htdocs/index.html be, to call up the
cacti installation screens as listed in the documentation [2]
According to the howto you've followed, there should be a directory /srv/www/cacti, that you need to define as the docroot of the cacti vhost, by editing /etc/apache2/vhosts.d/cacti.conf (see the howto)
Since it's outside the default docroot (/srv/www/htdocs) you may need to use in the global httpd.conf (if it's not taken care by the installer)
Code:

<Directory /srv/www/cacti>
Allow from all
</Directory>



All times are GMT -5. The time now is 08:11 AM.