Access to the APTARE IT Analytics portal fails with the 403 error.

Access to the APTARE IT Analytics portal fails with the 403 error.

Article: 100049022
Last Published: 2020-12-01
Ratings: 0 0
Product(s): APTARE IT Analytics

Problem

The 403 – Forbidden Access is denied error appears when you try to access the APTARE IT Analytics portal.

Error Message

403 – Forbidden Access is denied

Cause

Apache blocks access to the APTARE IT Analytical portal when /opt/aptare is a symbolic link to a directory.

Solution

Symbolic link is a term for any file that contains a reference to another file or location. According to the Apache security guidelines, Apache configuration blocks all the symbolic links to avoid risks.

If you must use a symbolic link due to insufficient partition or space, perform the following the steps:

For Linux

  1. Add the following text in the /opt/apache/conf/httpd-override.conf file:

<DirectoryMatch "./WEB-INF.">
Options FollowSymLinks
AllowOverride None
Require all denied
</DirectoryMatch>
<Directory / >
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /opt/aptare/datarcvr>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory /opt/aptare/portal>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory "/opt/apache/htdocs">
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>

  1. Restart the Apache services.

 

For Windows

  1. Add the following text in the C:\opt\apache\conf\httpd-override.conf file:

<DirectoryMatch "./WEB-INF.">
Options FollowSymLinks
AllowOverride None
Require all denied
</DirectoryMatch>
<Directory / >
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory "C:/opt/aptare/datarcvr">
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory "C:/opt/aptare/portal">
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory "C:/opt/apache/htdocs">
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>

  1. Restart the Apache services.

Was this content helpful?