Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AH01630: client denied by server configuration

Sriga311
Level 2
Level 2

Hi Team,

We have client denied error noticed several times in our apache error.log .So, as per adobe recommendation below , we tried to add the location in the httpd.conf file but it is not editable .Could you please let us know whether we need to add in the application specific vhost file or in conf. file. Please verify and share your thoughts.

III. CHECK APACHE 2.4 ACCESS CONTROL

To fix the client denied error, add the below location to httpd configuration file in the directive for the site:

<Location /dispatcher>
  Require all granted
</Location>

 

error.log

38:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /usr/share/httpd/noindex/index.html
[Thu Sep 23 03:17:52.105103 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/system
[Thu Sep 23 03:17:52.116095 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/etc
[Thu Sep 23 03:17:52.127164 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/etc
[Thu Sep 23 03:17:52.138145 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/etc
[Thu Sep 23 03:17:52.149232 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/libs
[Thu Sep 23 03:17:52.156154 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/libs
[Thu Sep 23 03:17:52.167128 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/libs
[Thu Sep 23 03:17:52.177659 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/libs
[Thu Sep 23 03:17:52.179024 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/libs
[Thu Sep 23 03:17:52.185125 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/admin
[Thu Sep 23 03:17:52.191249 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/system
[Thu Sep 23 03:17:52.201124 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/content
[Thu Sep 23 03:17:52.204993 2021] [authz_core:error] [pid 23938:tid 140559876335360] [client 3.215.161.80:5792] AH01630: client denied by server configuration: /mnt/var/www/author/content

 

Thanks in Advance 

1 Reply
bangar50
Level 7
Level 7

Hi @Sriga311 ,

                        You need to add  configuration in conf file and then add this reference in the farm file.

 

Kr,

Sanjay

Sriga311
Level 2
Level 2

Hi @bangar50 ,

Could you please let me know whether it should be added in /conf/httpd.conf file in dispatcher but it is a read only file as it is adobe provided.

 

Thanks

Sriga

joeysmith1
Level 1
Level 1

Check with `sudo -l`, you should have a `sudo` command which will allow you to edit the file in question - something like

 

sudo vi /etc/httpd/conf.d/dispatcher_vhost.conf

 

Sriga311
Level 2
Level 2

Hi @joeysmith1 ,

Thanks for your response.

We tried adding the below location in the conf/httpd.conf file under the directory .But it doesn't work.

<Location /dispatcher>
  Require all granted
</Location>

 

Thanks.

TML
Level 1
Level 1

Again, without seeing your specific configs, it's hard to say, but I'm fairly confident that your Location value there is not valid. Looking at the Apache documentation [1] for that directive, we can read:

 

The <Location> directive limits the scope of the enclosed directives by URL. I

So unless your URL contains the path /dispatcher, we would not expect anything in this directive to apply to your requests. You might want to try something like  <Location "/"> instead.

 

 

[1] https://httpd.apache.org/docs/current/mod/core.html#location

Raja-kp
Level 5
Level 5

Hi @Sriga311 - It should be configured in httpd.conf file but when you are unable to edit the httpd.conf - I hope your application might be running in AMS platform. You can try to add the below directive in the each vhost file and check the logs again :

 

<Directory "(Document root of particular application)">
AllowOverride None
Require all granted
</Directory>

 

Sriga311
Level 2
Level 2

Hi @Raja-kp ,

Thanks for your response

We already have added the directory in the vhost file as below .Please verify and let me know your thoughts.

 

<Directory "${PUBLISH_DOCROOT}">

Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

 

Thanks