Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 19:07]
Jackson Zhang
litespeed_wiki:cpanel:disable-mod-userdir-lsws-cpanel [2018/08/09 19:40]
Jackson Zhang
Line 41: Line 41:
 To fix this, you can add **"​UserDir disabled"​** to pre_virtualhost_global.conf To fix this, you can add **"​UserDir disabled"​** to pre_virtualhost_global.conf
  
-vi /​etc/​apache2/​conf.d/​includes/​pre_virtualhost_global.conf ​+vi /​etc/​apache2/​conf.d/​includes/​pre_virtualhost_global.conf
  
-and then 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''​.+  <​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
  • Admin
  • Last modified: 2023/02/13 17:56
  • by Lisa Clarke