Apache Web server is not following symlinks: AH00037: Symbolic link not allowed or link target not accessible

Solution Unverified - Updated -

Issue

  • I have set up a soft link in /var/www/html to a file in a different location. However, when trying to access the page I get the following error:
AH00037: Symbolic link not allowed or link target not accessible: /var/www/html/index.html

Environment

  • Red Hat Enterprise Linux (RHEL) 6
    • httpd 2.2.15
  • Red Hat Enterprise Linux (RHEL) 7
    • httpd 2.4.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