OpenLiteSpeed technical discussion on DirectAdmin forum
You can customize OpenLiteSpeed Virtual Host configuration in DirectAdmin. Despite the misleading name, Custom HTTPd Configurations on the DA Console may be used to add, modify, or edit an OLS virtual host configuration, when OLS is running. The customized changes you make will not be…
Apply Customization Through Templates Direct Admin has global templates for OpenLiteSpeed, which can be found in /usr/local/directadmin/data/templates. # pwd /usr/local/directadmin/data/templates # ls -la openlitespeed_* -rw-r–r– 1 diradmin diradmin 99 Oct 22 18:25 openlitespeed_context_protected.conf -rw-r–r– 1 diradmin diradmin 978 Oct 22 18:25 openlitespeed_ips.conf -rw-r–r– 1 diradmin diradmin…
In DirectAdmin, OpenLiteSpeed’s configuration is automatically generated by a DirectAdmin CustomBuild script during the installation. Hence, you should NEVER use a package management command such as yum update openlitespeed or apt-get upgrade openlitespeed to upgrade OpenLiteSpeed. Instead, you should always use DirectAdmin’s CustomBuild script to do…
Configuration Files on DirectAdmin When installing OpenLiteSpeed on DirectAdmin, Custom Build 2 converts the virtual host configuration from Apache and generates OLS configuration files in /usr/local/lsws/conf. When using OLS, and a new virtual host is added to Apache under DirectAdmin, the corresponding OLS virtual host…
On DirectAdmin, you can either run LiteSpeed Enterprise, or OpenLiteSpeed, but you cannot run both at the same time. You can refer to this knowledgebase article to determine whether OLS or LSWS is the best fit for your needs. Either way, if you installed the…
How DirectAdmin Supports OpenLiteSpeed Generally speaking, OpenLiteSpeed supports its own native virtual hosts only. Unlike LiteSpeed Enterprise, OLS cannot read Apache virtual host configurations. Most of popular control panels, including DirectAdmin, are based on Apache virtual host configuration, and as such do not support OpenLiteSpeed.…
How to Reduce LSPHP Processes A user reported that there were too many LSPHP processes running with DirectAdmin while OpenLiteSpeed was being used. There are a few different approaches to resolve this. Two configurations in particular affect the process count: LSPHP max connections for each…
Install OpenLiteSpeed on DirectAdmin 1) DA 1.57 or higher is required. (It will run fine with pre-release binaries, too) 2) CustomBuild 2.0. is required. If unsure of which version of CustomBuild you’re using, see this guide and upgrade if necessary. 3) Run the following to…
Reload OpenLiteSpeed Automatically with DirectAdmin Under DirectAdmin, you can set up OpenLiteSpeed to reload automatically after .htaccess changes. Currently OpenLiteSpeed reads .htaccess at starting time, so if some new .htaccess files are created, or the current ones are modified, changes will not go into effect…