From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B445D138359 for ; Fri, 30 Oct 2020 16:27:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC1F4E0894; Fri, 30 Oct 2020 16:27:03 +0000 (UTC) Received: from mail146c7.megamailservers.com (mail767.megamailservers.com [69.49.98.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A63ECE084A for ; Fri, 30 Oct 2020 16:27:03 +0000 (UTC) X-Authenticated-User: admin@sys-concept.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.com; s=mailtor; t=1604075222; bh=AHYib+pYpa5bNWPZSOEH9Ji9BDJlWA/wVaEhiK/2z6E=; h=Subject:To:References:From:Date:In-Reply-To:From; b=Y9gLDaaTYU1xI/p2KFw4utHAJ5hyt40Lla9CZ1tK2lHB1bple6jCUvaMSFC3XrA9o qW9m8Vpyvdlh4QyHLvN/darPL2WLpwzdukQSqgxBkpA5mSHPJJnWdUduKWzcYqnQNK kKiGbVXQfrvKPOlsQWtRxco7N8CPhMKbodK1OjW4= Feedback-ID:thelma@sys-conc X-VIP: 69.49.109.100 Received: from [10.0.0.100] ([184.69.242.18]) (authenticated bits=0) by mail146c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id 09UGQqsN009236 for ; Fri, 30 Oct 2020 12:27:02 -0400 Subject: Re: [gentoo-user] Apache 2.4 can not access server subdirectory To: gentoo-user@lists.gentoo.org References: <7b3d3416-77b0-02eb-ad05-f717fdf0b6a4@sys-concept.com> <2746600.e9J7NaK4W3@lenovo.localdomain> <9786004.nUPlyArG6x@lenovo.localdomain> From: thelma@sys-concept.com Openpgp: preference=signencrypt Autocrypt: addr=thelma@sys-concept.com; prefer-encrypt=mutual; keydata= xsFNBErG0rkBEADBziWBlZRgPWA3MO6hrJNm3Qb1zS8B3bSIKEPMVRYvc0DaHl0enSVM10Tv da4LraSH81xLeDgOptWRNAjyUhdbJegqgNeS5SYLZpWkYdtovQTCwFOAZYS9nKPU6OSDMGFZ goda3bsK38tvw7fkvzWUNHrKX2nRFnjJm1ixCyAjUHoWaUgF4GLDqD5nq1WUfYaw58jUHoco bRMn0KOuoAF+t/xlIF285UewQQaNUlza6lZ+otdJveOCfOV0thElYJGkyQ5sFibvFuDuwS8M 0usojinj5mrHHnl+8EObosFnrDw7PH0xASRkYUB6BmCDYLyYoujvZdhUo8ghIUBmEC4ePgJU rx6Hm10yRMTJdbX18W/6PjdI0bCaDOVuD8kV1b9gF55KUrV1AP8O4aix6CzNHmvsUyUk4c6E os6Jf3N9NOYAO/VdnyGeaTWcdVJbjJh/0M3fK9CAcLGOeK3qdBpiJZMxaHRlZnctHfP49BZV Pm1hlZtDt/fgt1V1+P8Mo03uMNM3K938zUDpHkt21jWCZzV2JrNF6MTiURiEIE0IZxJmNGfX Ub29OwRMTDiBvs2Tunr0ftih7HezKgjRt8kq3M0mHTqTJ9oaep52sFtkeDwmsP0bN2sIvWMj w9g2mWZzKP+v4uFhbJ12upDvyenqd/rOYbhg1Xyd20Z63BRqIQARAQABzTtTeXMuQ29uY2Vw dCBJbmMuICh3d3cuc3lzY29uY2VwdC5jYSkgPGluZm9Ac3lzLWNvbmNlcHQuY29tPsLBegQT AQIAJAIbAwIeAQIXgAULCQgHAwUVCgkICwUWAgMBAAUCSsbe2AIZAQAKCRD7p+62e0p4wibP D/4j8iPAp5wt274sd6Ew/iS09MIbl48b5kWAERhZkPYv+BfESoFT193+ErxyiwxfZcQkEpQR SoLkFlxes6Ov1FTs8wpXdJe9/7HT8C0duWwrQR1iudhncLTy/mk0hBYilpQ0pIwSnAbvwqCq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1CHoFJ6gXFhm8+KJC7w3YOdWyz4NcRnaMtqrvklRgCUtN/qHdSBUy6tDzLMwPhgTuPG75 pGfRrZ8MjfBMmL5v+V3Ev+6hQAJ6AZaBsq1uksSQ+MZOBxeWt/bYCyH92OqnJU2K473dNrOj sqJRTyohB1JdmxMAEQEAAcLBXwQYAQIACQUCSsbV7QIbDAAKCRD7p+62e0p4wthPD/wO5y8u pCH4IgkZjL0NuQenwvKoTqg3M/PHJEQzaMdK5dblA5nKZ6LnLmRtHd3NOvFfYvlrl+xnLQtj 8CNPiNKH2/mHEWHPJqeI27kcbhcABFdmbia+rLsf3VV9+/sqoa1dkxoM6lTrgZ57DLzuHuWk R9cEjmK2PxLyVgy/cmnDqJ/FK/4vGdrukKWeTjL/SsGZWZ7JwB0Okdrmnlq7T86csT3+1UiV ZQsm9a3WwoVzmhZomQwpi1Qw687MLtnetqEXr2cPNHTuDMnTVLVib3GhlTj3/Ylfpx8pS0vc 51KZ342RdeUHrGyQ1okxrwVAFzE2/FEO3mJtHMt0rJYLgnICuf0cBX70uxFTDnOuGrwtNVR8 0IMR8+vIhD/Cwc0hScQr9fCzm3VhFGSXyOChmRIg5fmftmgy19aSdysOMQAv6wap2azMvZQ7 CAZ9EvO5PioYA4YytfR2l9+CYWxzgaqjsYLiVwt4Y0lhehVQsgfygIaJA4mMf8ec9f/humVj t1EjwCS8KWeoLH8ZRv8SfHUfCirdP/leAVMkbrw4iOcNUIsrE4lpxX6lK3iNgfmpqRJzbqyK ihpcmiI2qVKtoLwiU1aOddEK09hzR5uqTDydir5EIgd3leb2wpxpjve0HEaXY4EATvq2GgkI /lur6FDTs6srRT3Ys6HAyQgyp4atUQ== Message-ID: <6207f399-6082-515a-af50-45161fb77257@sys-concept.com> Date: Fri, 30 Oct 2020 10:27:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <9786004.nUPlyArG6x@lenovo.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CTCH-RefID: str=0001.0A020214.5F9C3ED6.0075:SCFSTAT54230205,ss=1,re=-4.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=Hd9qsRM8 c=1 sm=1 tr=0 a=u3gW5Uk2xAGXuEgp5FffjQ==:117 a=u3gW5Uk2xAGXuEgp5FffjQ==:17 a=IkcTkHD0fZMA:10 a=JKvdZZbdJP8SxFcby2MA:9 a=QEXdDO2ut3YA:10 X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrleehgdekgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpehthhgvlhhmrgesshihshdqtghonhgtvghpthdrtghomhenucggtffrrghtthgvrhhnpeehgfehfeehtdejffffffetleffudetjedtieeifefghefhveeftdduieehtdefleenucfkphepudekgedrieelrddvgedvrddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeegrdeiledrvdegvddrudekpdhhvghloheplgdutddrtddrtddruddttdgnpdhmrghilhhfrhhomhepthhhvghlmhgrsehshihsqdgtohhntggvphhtrdgtohhmpdhrtghpthhtohepghgvnhhtohhoqdhushgvrheslhhishhtshdrghgvnhhtohhordhorhhg X-Origin-Country: CA X-Archives-Salt: 7d556263-f08d-4381-9d27-c50a2057e9f8 X-Archives-Hash: 85dbde45bc4ff6093d4e4291053bd4e7 On 10/30/2020 04:31 AM, Michael wrote: [snip] >> >> This is from apache.conf >> >> >> Options FollowSymLinks >> AllowOverride None >> Require all denied >> >> >> >> AllowOverride None >> Require all granted >> >> >> >> Options FollowSymLinks >> AllowOverride All >> Require all granted >> >> >> I just search all server .htaccess files for "AllowOverride" but none is >> active in these files. >> grep -Rnw '/var/www/html/catalog/' -e 'AllowOverride' > > You wouldn't find "AllowOverride" within an .htaccess file. This is a > directive placed in the main /etc/apache2 configuration files to determine if > directives contained in local filesystem .htaccess files will be processed or > not. An 'AllowOverride None' will ignore .htaccess directives and make the > server speedier in responding to requests. TBH .htaccess are typically used > locally, when you are not allowed to make changes to the main apache > configuration files. Note, if you changed the name of ".htaccess" with the > 'AccessFileName' directive, you may end up missing it. > > Another thing to check is any changes to the default 'DirectoryIndex' types, > for the particular subdirectory. If you have removed index.html or > index.html.var in this directive then apache won't serve index files when a > directory like admin/ is requested. > > Finally, you could increase the log verbosity to debug level and see if more > information is revealed as to the cause of this problem. I have a bigger problem. The apache 2.4 doesn't read configuration files. In apache2.conf I have: # Include the virtual host configurations: IncludeOptional sites-enabled/*.conf So it should read read every *config file in sites-enabled/ In that directory I have: ll sites-enabled/ lrwxrwxrwx 1 root root 35 Oct 27 21:15 000-default.conf -> ../sites-available/000-default.conf -rw-r--r-- 1 root root 3420 Oct 29 18:03 vhosts.conf vhosts.conf - define my web-site, but I commented everything out in that file (it is empty) and restarted apache: /etc/init.d/apache2 restart And I can still display my web page. How is it possible???