In this article, we will explain how to disable mod_userdir protection.
Let us understand some information before disabling mod_userdir protection:
- While this WHM function enables you to limit mod_userdir functionality, it does not uninstall the module itself. Some PCI compliance scans might still notice its presence.
- Due to the mod_userdir module’s usage of virtual hosts, IP addresses are not listed in this feature-
- Configuring it with IP addresses is not supported.
- If you have not secured the default host, accessing the server’s main IP address through the mod_userdir module is typically possible.
- Even if you attempt to secure a dedicated IP address, the site’s contents may still be noticeable when protection is active. To prevent this behaviour, edit the /etc/apache2/conf.d/includes/post_virtualhost_global.conf file with a text editor and include the following line-
UserDir disabled
This way, you can disable mod_userdir protection. If you require additional assistance, never hesitate to contact our support staff.