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.
Check existing protection before enabling this option. cPanel requires WHM’s Symlink Protection setting to be off when using the KernelCare symlink protection patch. The Apache patch also has compatibility limitations, including Mailman and CGI applications, and can affect performance. Do not combine it with an existing custom symlink patch without resolving the conflict.
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
-
Log in to WHM.

-
Open Service Configuration > Apache Configuration.

-
Select Global Configuration.


-
Find Symlink Protection, select On and select Save.

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

-
Wait for completion and check for errors.

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.