1 |
H Richard |
2 |
|
3 |
On Wed, Dec 2, 2020, 10:09 PM <thelma@×××××××××××.com> wrote: |
4 |
|
5 |
> When I try to configure sql-ledger, /localhost/sql-ledger/index.html |
6 |
> I get an error: Forbidden: You don't have permission to access this |
7 |
> resource. |
8 |
> |
9 |
> Apache starts normally but there is an entry in |
10 |
> /var/logs/apache/error_log (how to make it go way) |
11 |
> |
12 |
> [:notice] [pid 5015] ModSecurity for Apache/2.9.3 ( |
13 |
> http://www.modsecurity.org/) configured. |
14 |
> [:notice] [pid 5015] ModSecurity: APR compiled version="1.7.0"; loaded |
15 |
> version="1.7.0" |
16 |
> [:notice] [pid 5015] ModSecurity: PCRE compiled version="8.44 "; loaded |
17 |
> version="8.44 2020-02-12" |
18 |
> [:notice] [pid 5015] ModSecurity: LIBXML compiled version="2.9.10" |
19 |
> [:notice] [pid 5015] ModSecurity: Status engine is currently disabled, |
20 |
> enable it by set SecStatusEngine to On. |
21 |
> [mpm_prefork:notice] [pid 5016] AH00163: Apache/2.4.46 (Unix) |
22 |
> OpenSSL/1.1.1g PHP/7.4.11 configured -- resuming normal operations |
23 |
> Wed Dec 02 20:38:26.746392 2020] [core:notice] [pid 5016] AH00094: Command |
24 |
> line: '/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D |
25 |
> SSL_DEFAULT_VHOST -D LANGUAGE -D PHP -D SECURITY -d /usr/lib64/apache2 -f |
26 |
> /etc/apache2/httpd.conf' |
27 |
> [authz_core:error] [pid 4900] [client ::1:46226] AH01630: client denied by |
28 |
> server configuration: /usr/local/sql-ledger/index.html |
29 |
> |
30 |
> |
31 |
> The above error log entry has nothing to with the below configuration |
32 |
> except the last line: |
33 |
> [authz_core:error] [pid 4900] [client ::1:46226] AH01630: client denied by |
34 |
> server configuration: /usr/local/sql-ledger/index.html |
35 |
> |
36 |
> My sql-ledger_apache.config 2.4 config |
37 |
> |
38 |
> Alias /sql-ledger /usr/local/sql-ledger/ |
39 |
> <Directory /usr/local/sql-ledger> |
40 |
> AllowOverride All |
41 |
> AddHandler cgi-script .pl |
42 |
> AddDefaultCharset On |
43 |
> Options ExecCGI Includes FollowSymlinks |
44 |
> Require ip 10.0.0.109 |
45 |
> </Directory> |
46 |
> |
47 |
> <Directory /usr/local/sql-ledger/users> |
48 |
> Require all denied |
49 |
> </Directory> |
50 |
> |
51 |
> All the configuration entries are in main server (not in .htaccess) |
52 |
> |
53 |
> -- |
54 |
> Thelma |
55 |
> |
56 |
> |