title: Apache 403 forbidden even after configuring Directory, file chmod and selinux settings
body: <p>my command</p>
  <blockquote>
  <p>wget localhost</p>
  </blockquote>
  <p>returns</p>
  <pre><code>Resolving localhost (localhost)...::1, 127.0.0.1
  Connecting to localhost (localhost)|::1|:80... connected.
  HTTP request sent, awaiting response... 403 Forbidden
  2021-11-08 02:10:03 ERROR 403: Forbidden.
  </code></pre>
  <p>my apache home dir is /home/@@web/apache</p>
  <p>httpd.conf Directory and index</p>
  <pre><code>&lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride none
      Require all denied
  &lt;/Directory&gt;
  
  DocumentRoot &quot;/home/@@web/apache/htdocs&quot;
  
  &lt;Directory &quot;/home/@@web/apache/&quot;&gt;
      # Some comments
      Options Indexes FollowSymLinks
      AllowOverride None
      Request all granted
  &lt;/Directory&gt;
  
  &lt;IfModule dir_module&gt;
      DirectoryIndex index.html
  &lt;IfModule&gt;
  </code></pre>
  <p>and apache error log is shows</p>
  <pre><code>access to / denied (filesystem path '/home/@@web/apache') because 
  search permissions are missing on a component of the path
  </code></pre>
  <p>and I ran this to change selinux contexts</p>
  <pre><code>chmod -R -h -t httpd_sys_content_t /home/@@web/apache
  </code></pre>
  <p>which changed my files' selinux contexts to</p>
  <pre><code>unconfined_u:object_r:httpd_sys_content_t:s0
  </code></pre>
  <p>thanks in advance</p>