Question
How do I disable mod_userdir when using LiteSpeed Web Server (LSWS)?
Answer
You can disable mod_userdir for LiteSpeed by adding the following to the /etc/apache2/conf.d/includes/pre_virtualhost_global.conf file:
CONFIG_TEXT: <IfModule LiteSpeed>
UserDir disabled
</IfModule>
After disabling mod_userdir in the Apache configuration, mod_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 more details, please refer to the LiteSpeed documentation:
Comments
0 comments
Article is closed for comments.