-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/06/2015 01:09 AM, Bob Proulx wrote: > Daniel Bareiro wrote: >> Marco Stoecker wrote: >>> I do have the same issue. I disabled the default config in >>> "sites-enabled" (which in fact removed the symbolic link to >>> the 000-default.conf in "sites-available") and did a restart of >>> apache, but still the default page is showing up. I there >>> another way to disable the default site? I'd like to have only >>> the mailman site enabled. >> >> Thanks for confirm the behavior that I had mentioned. I don't >> remember this happening with Apache 2.2.22 on Debian Wheezy. So >> at the beginning of this thread I had asked whether it is likely >> that this configuration is compiled into Apache. > > I cannot reproduce the behavior that you have reported. I had > previously tested on my Sid system. I just now debootstrap'd a > pristine Jessie 8 system and tested and apache2 is not listening > to port 80 after performing the following configuration which was > previously discussed in this thread. > > Ensure that no web server is running in the host environment. > > service apache2 stop service nginx stop service ... stop # ... any > other installed web servers ... wget -O/dev/null -S > http://127.0.0.1/ --2015-05-05 17:01:51-- http://127.0.0.1/ > Connecting to 127.0.0.1:80... failed: Connection refused. ... Good. > No web servers are running as verified above. ... > > Then set up a pristine test case system in a chroot. > > debootstrap jessie /srv/chroot/jessie > http://http.debian.net/debian mount -o bind /proc > /srv/chroot/jessie/proc chroot /srv/chroot/jessie su - apt-get > install apache2 ln -sfn ../sites-available/default-ssl.conf > /etc/apache2/sites-enabled/000-default.conf a2enmod ssl sed > --in-place '/^Listen 80/s/^/# /' /etc/apache2/ports.conf service > apache2 restart > > At that point apache is running. It is not listening on port 80. > > # wget -O/dev/null -S http://127.0.0.1/ --2015-05-05 17:01:51-- > http://127.0.0.1/ Connecting to 127.0.0.1:80... failed: Connection > refused. > > It is listening on port 443 with ssl. > > # wget -O/dev/null -S -q --no-check-certificate https://127.0.0.1/ > HTTP/1.1 200 OK Date: Tue, 05 May 2015 23:01:14 GMT Server: > Apache/2.4.10 (Debian) Last-Modified: Tue, 05 May 2015 22:47:53 > GMT ETag: "2b60-5155d780793dc" Accept-Ranges: bytes Content-Length: > 11104 Vary: Accept-Encoding Keep-Alive: timeout=5, max=100 > Connection: Keep-Alive Content-Type: text/html > > Please double check and ensure that you have accomplished all of > the required steps again. I feel certain that one of them has been > left out. > > If you still think there is a problem then try the above steps to > reproduce it using a pristine system. Then compare the pristine > environment to the problem environment. > > Bob >
Hi Bob thanks for your help. I did it the other way. Just installed wheezy on a 2nd machine, installed apache2, disabled the default site and still, if I call http://192.168.10.16, it shows the default site. So I was wrong, saying wheezy did different. But is where can I disable the default completely (I guess somewhere to change the DocumentRoot in the main config)? BR Marco -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJVSk28AAoJEC1y3OsA+e10mxoP/RvrjWkltripwQh3/SoX2v0t SrMY/dq0Cy8kuxxSS+IqwaZx2+r48ySySOL/gfCkanTsjEz59fSkOAKIauiXnlnl O2R+OqsslGj5gWX7lfRNzpfLlJ8FZF9PEuvrEXtxx+TDjDt/lOev4J86znUUUnoM 9u6qp3WQ+KWHyGbt4feTFwkhQfktIuvyihCmOdpCsGu6P/BYGgEcGiYvpWdwxDL/ MYXUslK3EOPJ8k+DqHxoCJ7Hmj0hcwyfQUxKJAmwW8buCPhEJhYmvC8CoDZJq09i redw80a/W5Y/QAi3sW4LlJ5hjA2br99CYV4wpKyVMs4MFV6rJ8Cxq0Up/E9DZbQ9 7DYzsu+RPWcE3d7TRjZbhrMZtp3//SrRUD93ZSGxTjI8pGEEHD0Bh6LqIfjNjYuu CDxmcISNz8NrG8t4l2FnFyIaDxBX5y8dQ7YWMd+F7nhP0j7eUSMDiLKVCdObmP6v TmRfidQsf/cqj8j8/nRaVkmngcmh8RMxxJV5M1H/Crip2lI4ikzgXLPMpl+tkn1z DBPTVfJv4c0+k+ZSB0M3H9XpJoEU1e22plYfWc5DDnWaJ/iQthcxi9GdInlPD8EE bskh5jzt6Fc6Rf02f9aJZMPlb8mIBEjQCmKIEtRjTWMlIUf+g4D+aljslvwdqYgP 33GCQsCiQhyAz5sljygf =FZuF -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/554a4dc1.6040...@stoecker-family.de