Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:cpanel:disable-mod-userdir-lsws-cpanel [2018/08/09 13:48] Jackson Zhang |
litespeed_wiki:cpanel:disable-mod-userdir-lsws-cpanel [2018/08/09 19:40] Jackson Zhang |
||
---|---|---|---|
Line 39: | Line 39: | ||
UserDir public_html | UserDir public_html | ||
- | To fix this, you can simply add "userdir" to the list of Apache modules to ignore in LSWS configuration and restart LSWS. Navigate to **LSWS Web Admin: Configuration > Server > General > Using Apache Configuration File > Ignore Apache Modules** and add ''userdir''. | + | To fix this, you can add **"UserDir disabled"** to pre_virtualhost_global.conf |
+ | |||
+ | vi /etc/apache2/conf.d/includes/pre_virtualhost_global.conf | ||
+ | |||
+ | <IfModule LiteSpeed> | ||
+ | UserDir disabled | ||
+ | </IfModule> | ||
+ | |||
+ | and then add "userdir" to the list of Apache modules to ignore in LSWS configuration:Navigate to **LSWS Web Admin: Configuration > Server > General > Using Apache Configuration File > Ignore Apache Modules** and add ''userdir''. | ||
{{ :litespeed_wiki:cpanel:mod_userdir_disable_lsws.png?300 |}} | {{ :litespeed_wiki:cpanel:mod_userdir_disable_lsws.png?300 |}} | ||
+ | Restart LSWS after the configuration change. | ||
+ | service lsws restart |