[opensuse-factory] Are there any instructions on how to get apache2 working ? on localhost
Hello, Are there any instructions on how to get apache2 working ? on localhost I get the following error on factory[1] when I try http://127.0.0.1/ File listing see [2] apache2 installation [3] Thanks Glenn [1] Failed to Connect The connection was refused when attempting to contact 127.0.0.1. Though the site seems valid, the browser was unable to establish a connection.Could the site be temporarily unavailable? Try again later.Are you unable to browse other sites? Check the computer's network connection.Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing. [2]File listing /srv/www # ls cgi-bin htdig htdocs # find . | sort . ./cgi-bin ./cgi-bin/htsearch ./cgi-bin/info2html ./cgi-bin/info2html.conf ./cgi-bin/infocat ./cgi-bin/qtest ./htdig ./htdig/common ./htdig/common/bad_words ./htdig/common/english.0 ./htdig/common/english.aff ./htdig/common/footer.html ./htdig/common/header.html ./htdig/common/long.html ./htdig/common/nomatch.html ./htdig/common/short.html ./htdig/common/synonyms ./htdig/common/syntax.html ./htdig/common/wrapper.html ./htdig/images ./htdig/images/button1.gif ./htdig/images/button1.png ./htdig/images/button10.gif ./htdig/images/button10.png ./htdig/images/button2.gif ./htdig/images/button2.png ./htdig/images/button3.gif ./htdig/images/button3.png ./htdig/images/button4.gif ./htdig/images/button4.png ./htdig/images/button5.gif ./htdig/images/button5.png ./htdig/images/button6.gif ./htdig/images/button6.png ./htdig/images/button7.gif ./htdig/images/button7.png ./htdig/images/button8.gif ./htdig/images/button8.png ./htdig/images/button9.gif ./htdig/images/button9.png ./htdig/images/buttonl.gif ./htdig/images/buttonl.png ./htdig/images/buttonr.gif ./htdig/images/buttonr.png ./htdig/images/htdig.gif ./htdig/images/htdig.png ./htdig/images/star.gif ./htdig/images/star.png ./htdig/images/star_blank.gif ./htdig/images/star_blank.png ./htdig/search.html ./htdocs ./htdocs/gif ./htdocs/gif/l_arrow.gif ./htdocs/gif/r-ball.gif ./htdocs/gif/r_arrow.gif ./htdocs/gif/r_hand.gif ./htdocs/gif/u_arrow.gif ./htdocs/info2html.css[2] [3] Output from apache2-2.2.22-3.1@x86_64: Starting SuSEconfig, the SuSE Configuration Tool... Running module permissions only Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.permissions... Checking permissions and ownerships - using the permissions files /etc/permissions /etc/permissions.easy /etc/permissions.d/mail-server /etc/permissions.d/postfix /etc/permissions.local setting /var/log/btmp to root:root 0600. (wrong owner/group root:utmp) Finished. Updating /etc/sysconfig/apache2... looking for old 2.0 modules to be renamed... Done. # rpm -qa | grep -i apache2 | sort apache2-2.2.22-3.1.x86_64 apache2-utils-2.2.22-3.1.x86_64 apache2-worker-2.2.22-3.1.x86_64 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting doiggl@velocitynet.com.au:
Hello, Are there any instructions on how to get apache2 working ? on localhost I get the following error on factory[1] when I try http://127.0.0.1/
Did you try to start apache? rcapache2 start Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Thanks for details.
Did you try to start apache?
rcapache2 start
Dominique
Hello I re-started apache [1] suspected it was stopped, I got this message[2], when re-trying 127.0.0.1 What do I configure next ?, and how do Iknow when Apache is working properly ? [1] /srv/www # rcapache2 start redirecting to systemctl [2] 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 Mon Jun 18 23:31:43 2012 Apache/2.2.22 (Linux/SUSE) Mysql is installed # rpm -qa | grep -i mysql | sort libmysqlclient18-5.5.22-1.2.x86_64 libmysqld18-5.5.22-1.2.x86_64 libqt4-sql-mysql-4.8.1-1.2.x86_64 libreoffice-base-drivers-mysql-3.5.4.3-1.2.x86_64 mysql-community-server-5.5.22-1.2.x86_64 mysql-community-server-client-5.5.22-1.2.x86_64 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting doiggl@velocitynet.com.au:
Thanks for details.
Did you try to start apache?
rcapache2 start
Dominique
Hello I re-started apache [1] suspected it was stopped, I got this message[2], when re-trying 127.0.0.1
What do I configure next ?, and how do Iknow when Apache is working properly ?
[1] /srv/www # rcapache2 start redirecting to systemctl
[2]
Access forbidden!
That seems fine... based on your previous email, there is indeed no index.html in /srv/www/htdocs and dire listing is disabled by default. As such: you apache is up, running and doing the right thing. Start publishing your website inside /srv/www/htdocs... As a first start, add an index.html there. Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-06-18 15:57, Dominique Leuenberger a.k.a DimStar wrote:
Start publishing your website inside /srv/www/htdocs... As a first start, add an index.html there.
There should be a default file in there, it always has been. Years ago it was one with SuSE customizations and information. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/fNNQACgkQIvFNjefEBxq+cACg1eKDgRj4V3dJp03P42Au1/p4 du8AoLKVIxLtlaIHWPkdIsgjVY+TdFy1 =4+F0 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting "Carlos E. R." <robin.listas@telefonica.net>:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-06-18 15:57, Dominique Leuenberger a.k.a DimStar wrote:
Start publishing your website inside /srv/www/htdocs... As a first start, add an index.html there.
There should be a default file in there, it always has been. Years ago it was one with SuSE customizations and information.
My 12.1 install does not have anything in /srv/www/htdocs, which would resemble an index.html BUT: There is a package with sample pages: apache2-example-pages Try installing this if you really need 'just to see' that apache works.. Other than that, this package is rather useless. Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 18 Jun 2012 10:07:54 -0400, "Dominique Leuenberger a.k.a DimStar" <DimStar@openSUSE.org> wrote:
Quoting "Carlos E. R." <robin.listas@telefonica.net>:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-06-18 15:57, Dominique Leuenberger a.k.a DimStar wrote:
Start publishing your website inside /srv/www/htdocs... As a first start, add an index.html there.
There should be a default file in there, it always has been. Years ago it was one with SuSE customizations and information.
My 12.1 install does not have anything in /srv/www/htdocs, which would resemble an index.html
BUT: There is a package with sample pages: apache2-example-pages
Try installing this if you really need 'just to see' that apache works.. Other than that, this package is rather useless.
Dominique
Hello, Thanks Dominique. - Installed apache2-example-pages-2.2.22-3.1.x86_64 - rcapache2 restart - 127.0.0.1 now displays - It works! Thanks once again -Glenn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
doiggl@velocitynet.com.au
-
Dominique Leuenberger a.k.a DimStar