This is an old revision of the document!


LiteMage can normally be enabled by placing “LiteMage On” in .htacess under user's document root.

For Magento shared hosting environment, system administrator may want to control LiteMage on/off from global level and disable the .htaccess LiteMage enable ability. You can place LiteMage Off in Server level of apache configuration, which literally diable end-user .htaccess LiteMage enabling ability. Only System admin can enable it by placing “LiteMage On” through apache virtual host configuration.

For example, you may use a cPanel server.

You can place the following into /etc/apache2/conf.d/includes/pre_main_global.conf (EA4 Env).

<IfModule Litespeed>
LiteMage Off
</IfModule>

You might have server-level cache root setup there already. If so, you can just add “LiteMage Off” inside of

<IfModule Litespeed>

CacheRoot /home/lscache/
LiteMage Off
</IfModule>

The above configuration will disable all end-user .htaccess litemage enabling ability.

To enable LiteMage for certain virtual host, System Admin will need to enable it through virtual host include file, such as /etc/apache2/conf.d/userdata/std/2_4/$USER/yourdomain.com/litemage.conf, and place the following:

<IfModule LiteSpeed>
LiteMage On
</IfModule>
  • Admin
  • Last modified: 2017/04/18 19:01
  • by Jackson Zhang