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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.