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
Views
Replies
Total Likes
Hi @Sanjay_Bangar ,
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
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
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.
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
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>
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
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies