Cannot access web content from user's home directories using httpd

Solution Verified - Updated -

Issue

While trying to access web content from user's home directory we see following errors in /var/log/httpd/error_log

[Wed Aug 07 06:49:14.816786 2019] [core:error] [pid <>] (13)Permission denied: [client <>:<>] AH00035: access to /~test1/ denied (filesystem path '/home/test1/public_html') because search permissions are missing on a component of the path

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content