From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IVZGv-0007Oi-P4 for garchives@archives.gentoo.org; Wed, 12 Sep 2007 20:57:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8CKmTI9004403; Wed, 12 Sep 2007 20:48:29 GMT Received: from syscon1.sysconcept.ca (103.205-206-12-0.interbaun.com [205.206.12.103] (may be forged)) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8CKgJWI027874 for ; Wed, 12 Sep 2007 20:42:19 GMT Received: by localhost.localdomain (Postfix, from userid 1000) id A187F148B39; Fri, 7 Sep 2007 20:10:58 -0600 (MDT) Subject: [gentoo-user] apache upgrade default configuration - not explained correclty From: Joseph To: gentoo-user@lists.gentoo.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 07 Sep 2007 20:10:58 -0600 Message-Id: <1189217458.13094.22.camel@localhost.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 X-Archives-Salt: 517dbc84-888b-40f7-be44-ec7a5d6797ea X-Archives-Hash: 56e6a8afd7847576522a2420b16f63e8 Enabling hosting from "/var/www/localhost/htdocs" is not explained correctly in configuration files (correct me anybody if I missed something) . This is the second time I got caught this this problem. Default configuration for apache is as follow: In file: modules.d/00_default_settings.conf ... # We configure the "default" to be a very restrictive set of features. Options FollowSymLinks AllowOverride None Order deny,allow Deny from all In file: vhosts.d/default_vhost.include ... ... AllowOverride All # Controls who can get stuff from this server. Order allow,deny Allow from all This is grace a beauty but not practical for hosting. The statement above in "00_default_settings.conf" AllowOverride None Order deny,allow Deny from all will not let anybody host any files on their system, nor there is any explanation on what to do to enable hosting from "/var/www/localhost/htdocs" The solutions are to change in - changing "AllowOverride None" to "AllowOverride All" or - removing: Order deny,allow Deny from all or adding below .... another statement: AllowOverride All and that is what I have done. The statement "AllowOverride All" in file: vhosts.d/default_vhost.include does not overwrite statement from file: modules.d/00_default_settings.conf This is the second time I got myself caught with this problem after upgrading apache. #Joseph -- gentoo-user@gentoo.org mailing list