Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] Apache 2.4 can not access server subdirectory
Date: Thu, 29 Oct 2020 04:36:25
Message-Id: 7b3d3416-77b0-02eb-ad05-f717fdf0b6a4@sys-concept.com
1 After installing apache 2.4 I can not access server subdirectory:
2 server/admin/index.html
3
4 Forbiden
5 You don't have permission to access /admin/index.html on this server
6
7 I can access index.html in a directory below /admin (server/index.html)
8 but not the server/admin/index.html
9
10 I even change the permission on the index file:
11 -rwxrwxrwx 1 apache apache 428 Oct 28 16:44 index.html
12
13 I removed .htaccess from server/admin (it doesn't help)
14
15 In apache.conf
16
17 <Directory />
18 Options FollowSymLinks
19 AllowOverride None
20 Require all denied
21 </Directory>
22
23 <Directory /usr/share>
24 AllowOverride None
25 Require all granted
26 </Directory>
27
28 <Directory /var/www/>
29 Options FollowSymLinks
30 AllowOverride None
31 Require all granted
32 </Directory>
33
34
35 --
36 Thelma

Replies

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