Introduction
How do I disable mod_userdir when using the LiteSpeed Webserver
Procedure
Litespeed does not use the itk,ruid2 or mod_passenger Apache modules, therefore if one of these modules are enabled LiteSpeed detects mod_userdir as being enabled.
You can disable mod_userdir for LiteSpeed by adding the following to the /etc/apache2/conf.d/includes/pre_virtualhost_global.conf file:
<IfModule LiteSpeed> UserDir disabled </IfModule>
After disabling mod_userdir in the Apache configuration userdir needs to be added to the Ignore Apache Modules section in LSWS Web Admin: Configuration > Server > General > Using Apache Configuration File > Ignore Apache Modules .
For further reference you can refer to the LiteSpeed documentation:
Disable mod_userdir for LSWS on cPanel
Comments
0 comments
Article is closed for comments.