Did you read the error you posted?
It tells you EXACTLY what the problem is and where it happens.
The solution will be found in php.ini., max upload size or something about uploads..
I would check that file first.
(Which should not be in public_html, btw)
-----
It can also stem from you apache configuration, see below;
The Problem:
The error message
“Authz_core:error Client Denied by Server Configuration” indicates that the server is denying access to a client due to configuration settings related to authorization. This error is typically associated with the Apache web server, which uses the
“mod_authz_core” module to manage access control.
Code:
[authz_core:error] [pid 29422] [client 12.34.56.78:46618] AH01630: client denied by server configuration: /home/XXX/public_html/favicon.ico, referer: http://example.com/index.php
Possible Solutions:
There are several possible reasons why a client might be denied access by the server configuration. Here are some common causes:
1. Deny from all:
This configuration directive can be used in Apache’s
.htaccess files or in the server configuration file to deny access to all clients. If this directive is present and set to
“Deny from all”, then any client attempting to access the specified resource will be denied, and the
“Authz_core:error Client Denied by Server Configuration” error will be logged.
Code:
<Directory /path/to/directory>
Order Deny,Allow
Deny from all
</Directory>
To fix this issue, you can change
“Deny from all” to
“Allow from all” to allow all clients to access the resource:
2. Require valid-user:
This configuration directive requires authentication before allowing access to a resource. If the client does not provide valid credentials, then the
"Authz_core:error Client Denied by Server Configuration" error will be logged.
Code:
<Directory /path/to/directory>
AuthType Basic
AuthName "Restricted Content"
AuthUserFile /path/to/password/file
Require valid-user
</Directory>
To fix this issue, you can either provide valid credentials or remove the
"Require valid-user" directive to allow access without authentication:
Code:
<Directory /path/to/directory>
AuthType None
Allow from all
</Directory>
3. Incorrect file permissions:
Incorrect file permissions can also cause the
"Authz_core:error Client Denied by Server Configuration" error. For example, if the file permissions are set to
"600" (read and write for the owner only), then clients will be denied access.
To fix this issue, you can set the correct file permissions:
chmod 644 /path/to/file
These are just a few examples of configurations that can cause the
"Authz_core:error Client Denied by Server Configuration" error. It's important to review your server configuration and logs to identify the specific cause of the issue and make the appropriate changes to resolve it.
Wrap Up
To troubleshoot this error, you should check the server logs for more information about the specific cause of the problem. You may also need to review the server configuration files to ensure that they are set up correctly. If you are unsure how to do this, you may want to seek assistance from a web developer or system administrator.
A simple Google search for authz_core: error reveals several possibilities;
my.f5.com
Ubuntu 18.04 + Php 7.4 + Apache 2.4 Everything working fine, websites are ok. But i use .htaccess to protect some files or directories. On previous apache, i used Order allow,deny D...
stackoverflow.com