Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apache 2.4 can not access server subdirectory
Date: Thu, 29 Oct 2020 14:10:16
Message-Id: 474d741a-a72d-e3ff-f771-5c7ecd72c31b@sys-concept.com
In Reply to: Re: [gentoo-user] Apache 2.4 can not access server subdirectory by "Remco Rijnders"
1 On 10/29/2020 06:21 AM, Remco Rijnders wrote:
2 > On Wed, Oct 28, 2020 at 10:36:12PM -0600, thelma wrote in
3 > <7b3d3416-77b0-02eb-ad05-f717fdf0b6a4@×××××××××××.com>:
4 >> After installing apache 2.4 I can not access server subdirectory:
5 >> server/admin/index.html
6 >>
7 >> Forbiden
8 >> You don't have permission to access /admin/index.html on this server
9 >>
10 >> I can access index.html in a directory below /admin (server/index.html)
11 >> but not the server/admin/index.html
12 >
13 > That seems to suggest that either the permissions or ownership of
14 > admin/index.html are different from admin/server/index.html, or that
15 > there is a
16 > difference of that kind between the directories admin/ and admin/server.
17 > Are
18 > they?
19
20 Here are the permissions:
21
22 index on server/
23 -rw-r--r-- 1 root root 19078 Jan 14 2011 index.php
24
25 index on server/admin/
26 drwxr-xr-x 6 root root 4096 Oct 28 22:08 admin
27 -rwxrwxrwx 1 apache apache 428 Oct 28 16:44 index.html
28
29 It works on Apache 2.2 but not Apache 2.4

Replies

Subject Author
Re: [gentoo-user] Apache 2.4 can not access server subdirectory "Remco Rijnders" <remco@×××××××××××.com>
Re: [gentoo-user] Apache 2.4 can not access server subdirectory Michael <confabulate@××××××××.com>