This guide explains how to enable WHM’s Apache symlink protection setting when an administrator has chosen this protection method. A symbolic link points to another file; unsafe handling on a shared server can let one account access another account’s files.

Check the server’s existing protection

This setting enables an Apache patch. It does not fix Linux kernel vulnerabilities and is not a complete replacement for account isolation or other security controls. cPanel recommends this Apache patch only when other protection methods cannot be used. Consider alternatives such as CloudLinux SecureLinks and correctly configured CageFS first.

Ask the server administrator which method is appropriate if you are unsure. The steps below require administrator access to WHM.

Enable the chosen Apache protection

  1. Log in to WHM.

    Login to WHM

  2. Open Service Configuration > Apache Configuration.

    Service Configuration

  3. Select Global Configuration.

    Global Configuration

    configuration

  4. Find Symlink Protection, select On and select Save.

    Symlink protection

  5. Review the saved configuration, then select Rebuild Configuration and Restart Apache.

    Rebuild Configuration and Restart Apache

  6. Wait for completion and check for errors.

    rebuilding

Check the affected websites

Test the sites after Apache restarts, including any CGI applications. If the change causes problems, have the administrator review the protection method and restore the previous setting where appropriate.