This section of the wiki provides articles on configuring LiteSpeed Web Server to achieve desired functionality, better performance, or security. These wikis do not cover what each LSWS setting does. That information can be found in our documentation.
Also LiteSpeed Cache, LiteMage Cache, PHP, and other external applications (Python, Ruby, etc.) are covered in their own sections of the wiki and are not included here.
Most of the time, users may use LSWS in a control panel environment and LSWS will read and run based on Apache configuration. You can also configure LSWS to read your existing Apache configuration if you have a working Apache server running without a control panel. In these scenarios, users may continue to set up everything in Apache, the same way as before.
Sometimes, users may run LSWS natively without a control panel. In this case, users can check LSWS native configuration through LSWS Admin Console.
Please see Quick Reference for All Commands.
Why do you need to understand Apache configuration if you are using LSWS Web Server?
LiteSpeed is a drop-in replacement in a control panel environment, which means that LiteSpeed can read Apache configuration files and run LSWS based on Apache's settings. Most of the time, configuration changes on Apache will reflect directly on LSWS as well.
LiteSpeed's implementation of Apache functionality includes (but is not limited to) the following Apache modules. This list is gradually expanding as new feature requests are implemented:
mod_access
, mod_actions
, mod_alias
, mod_auth
, mod_auth_ldap
, mod_auth_passthrough
, mod_autoindex
, mod_cache
, mod_cgi
, mod_expires
, mod_fastcgi
, mod_frontpage
, mod_geoip
, mod_gzip
/mod_deflate
, mod_jk
, mod_mime
, mod_php
, mod_proxy
, mod_rewrite
, mod_security
, mod_ssl
, mod_suexec
, and mod_throttle
.
LiteSpeed Web Server also uses the same syntax as Apache for distributed configuration file (.htacess
) and URL rewrite rules.
Please check https://httpd.apache.org/docs/2.4/|Apache documentation]] for information about configuring Apache.
Custom templates can be used to make LSWS virtual hosts, and simultaneously prepare them for popular web applications and plugins. All templates use LiteSpeed native configurations. Templates are unnecessary if you are migrating an existing site with web applications from Apache.