Configure LiteSpeed Web Server¶
Most of the configuration documentation for LiteSpeed Web Server has not been migrated from our Wiki yet. Please visit the wiki if you don't find what you are looking for below.
These directives can be used within Apache configuration files, but they may be LiteSpeed-specific (i.e. not recognized by Apache), in which case they must be contained within
LogRotationSize <size> directive controls how frequently the access log should be rotated. In other words, once the log reaches the specified size in bytes, the contents will be copied to a backup file and a new log will be started.
This directive may only be set at the server level, and it cannot be used in Apache virtual host configuration.
You can add
G to the size, to signify kilo-, mega-, and gigabytes respectively. Use a value of
0 to disable the log rotation.
Disable log rotation:
<IfModule litespeed> LogRotationSize 0 </IfModule>
<IfModule litespeed> LogRotationSize 10M </IfModule>
UniqueId on|off directive is used to create a unique identifier for requests, similar to the Apache mod_unique_id directive. UniqueID is disabled by default.
This directive may be set at the server level, the virtual-host level or in the document root's
<IfModule litespeed> UniqueId on </IfModule>