From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-154358-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id F0B8A13873B
	for <garchives@archives.gentoo.org>; Wed,  5 Mar 2014 23:26:47 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B5260E0AA2;
	Wed,  5 Mar 2014 23:26:42 +0000 (UTC)
Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 88EA2E09A4
	for <gentoo-user@lists.gentoo.org>; Wed,  5 Mar 2014 23:26:41 +0000 (UTC)
Received: by mail-wg0-f48.google.com with SMTP id b13so2177590wgh.7
        for <gentoo-user@lists.gentoo.org>; Wed, 05 Mar 2014 15:26:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=from:reply-to:to:subject:date:user-agent:references:in-reply-to
         :mime-version:content-type:content-transfer-encoding:message-id;
        bh=fDxK/XsHDtlTHqRlFpDgK+f0uCU4LZqeHug1T2hs2Cg=;
        b=vutGWo7Ws3BljGbVK6I0qmkinjp/eKaiVxSMLBw0BiOEwbBKnJP0zJV+Mc20grizTj
         iMyiv3tev9Lcr6R33sxEZF2DSeL1ZmH/JyZsRmHAK5uvwzezKAvvnT9qPkjiunTw5Hrz
         1hBGWvjGKEzKr+BdaGSr4sevTnxBc/jWFD9SqGW2EGzL5WAt0WYA04ti+La0GqxXUh+B
         vqFSgxKbnOOIJqg+567jnn39rLWPO6a5yrNzODlyw2IVgJQw2dQ5avK6H74Zs6LSZE1C
         Yy+whhuVNKui4CmRuzVQ4/GplZl0uVL6EP9Iv8V9WEBkMWclUfSAH+F+Ncatut+H2ApO
         CM+A==
X-Received: by 10.194.63.103 with SMTP id f7mr5168925wjs.38.1394062000130;
        Wed, 05 Mar 2014 15:26:40 -0800 (PST)
Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230])
        by mx.google.com with ESMTPSA id de3sm7453890wjb.8.2014.03.05.15.26.38
        for <gentoo-user@lists.gentoo.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 05 Mar 2014 15:26:39 -0800 (PST)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: Fwd: Re: [gentoo-user] Two identical systems - different!
Date: Wed, 5 Mar 2014 23:26:00 +0000
User-Agent: KMail/1.13.7 (Linux/3.10.17-gentoo; KDE/4.11.5; x86_64; ; )
References: <1917525.PYb2fVqeVR@wstn> <201403051349.11241.michaelkintzios@gmail.com> <3959059.11psSvJX2K@wstn>
In-Reply-To: <3959059.11psSvJX2K@wstn>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart1964153.HhetqzMjYH";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201403052326.18343.michaelkintzios@gmail.com>
X-Archives-Salt: f7bf44c0-5123-459f-b1bc-fefa6502d4d4
X-Archives-Hash: dc8176c3de62718c080ed14a68c54bae

--nextPart1964153.HhetqzMjYH
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

On Wednesday 05 Mar 2014 15:20:07 Peter Humphrey wrote:
> On Wednesday 05 Mar 2014 13:49:00 Mick wrote:

> > Have you manually disabled webDAV in your apache configuration?
> >=20
> > You will need to set 'Dav Off' under the entry for your <Directory
> > /var/www/owncloud>.  You will also need to check that you have *not*
> > enabled authentication at apache level because this is managed by the
> > php code and you have also set 'Satisfy Any' under 'Allow from all'.
>=20
> I've included this stanza in default_vhost.include:
>=20
> <Directory "/var/www/localhost/htdocs/owncloud">
>         Options Indexes FollowSymLinks MultiViews
>         AllowOverride All
>         Order allow,deny
>         allow from all
>         Satisfy Any
> #       Dav Off
> </Directory>

I tend to keep the entries you show above, except for Dav, in=20
/etc/apache2/modules.d/XX_mysite_mod.conf.  Directives like ServerName,=20
DocumentRoot, etc. as well as 'Dav On|Off' I keep in=20
/etc/apache2/vhosts.d/XX_mysite.conf.  I place Dav under <Location>; e.g.

<VirtualHost *:80>
	ServerName mysite.com
	ServerAlias mysite
	DocumentRoot /var/www/mysite/htdocs
	<Location />
		Dav Off
	</Location>
</VirtualHost>


Try that approach because it seems to make a difference at what stage the D=
av=20
directive is parsed.


> I've just found something odd. It looks like Apache is not listing on IPv=
4,
> only IPv6:
>=20
> # netstat -tulpen | grep apache
> tcp6       0      0 :::80                   :::*                    LISTEN
> 0          225562     29055/apache2
> tcp6       0      0 :::443                  :::*                    LISTEN
> 0          225558     29055/apache2
>=20
> No mention of plain tcp. Eth0 has an IPv4 address, of course, so I have
> more detective work to do.

Not sure why, but I don't see apache listening on IPv4 here either.  My LAN=
=20
only has IPv4 configured and I know it works, but like yours I can't explai=
n=20
why it is not shown ... could it be a bug?

=2D-=20
Regards,
Mick

--nextPart1964153.HhetqzMjYH
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAABAgAGBQJTF7KaAAoJELAdA+zwE4YeVEEIAMh0dk4JettI3HI581FUfCl0
31Xq2OJzuzME6UuhRA5KT1HAqwP6gNmBK0f3aQ9mSEavZkD628wD6ZuhU8XzV63y
G8iaA0QOwnV5ZxxyCr8tDd/XNHPti21WGcxPwh0VewlT0kXDQWREzuC+3z+yUZTQ
tbKpMzmqd7gH8Tea8TATknQSZiTUXnCXg1Sd2DkusIdRE0z0+qX94u6v5hq2obXG
EA9IrwAIICxjAy/OYSBQ8KpbE+D34OBActlWeR5dWHDfowzGhMOdOnCEjFL0kWfD
y1m2zVoBT0UNAYeHtUSs4b3ufiKTFWm+lMfJL3Oio00aUykMQb75T/jnbMP/Vb4=
=M30r
-----END PGP SIGNATURE-----

--nextPart1964153.HhetqzMjYH--