This is an old revision of the document!
Welcome to LiteSpeed Wiki
Striving to improve communication between us, the developers, and our users, this wiki was created to be a place to exchange tutorials, configuration tips, external modules, and other ideas regarding LiteSpeed products.
As this area is based on the wiki concept, all users may create and edit content.
How to use this wiki
To participate in the wiki, you must first register an account on our Support Forum. The forum login is used for both the forum and wiki editing.
New to LiteSpeed
LiteSpeed Tutorials for Beginners
Article | Description |
---|---|
Load Balancer Config | Easy guide to install and configure Litespeed Load Balancer |
Install Litespeed on Mac OS X | Installation guide showing you how to setup LiteSpeed on your Mac and compile PHP with the LiteSpeed Complile PHP feature |
Upgrade LSWS to paid version | How to upgrade LiteSpeed Web Server from Standard Edition (free version) to Enterprise Edition (paid version) |
LiteSpeed Basics
Article | Description |
---|---|
Command Line Install | How to install and set up LSWS using only the command line |
Configuration Tips
Article | Description |
---|---|
HA Active-Standby LiteSpeed | HA High Available LiteSpeed with Heartbeat |
Name-Based Virtual Hosting | How to set up name-based virtual hosting |
IP-Based Virtual Hosting | How to set up IP-based virtual hosting |
Virtual Host Templates | How to use a template to configure a group of virtual hosts with similar configurations |
gzip Compression | How can I use gzip compression to save bandwidth? |
OS Tuning Tips
Article | Description |
---|---|
Linux OS Tuning | How to tune Linux OS for maximum performance for LiteSpeed. |
File Descriptor Limit | How to increase the file descriptor limit |
General Tips
Article | Description |
---|---|
Bug Reporting | How to file a LiteSpeed bug report |
Internal Redirect | For those seeking x-sendfile or x-accel-redirect feature. We show you how with LiteSpeed. |
FLV streaming | Flash Video (FLV) Streaming (random seek) |
MP4 streaming | MP4/H264/F4V Video Streaming |
Syslog/Splunk Logger | High performance logging of litespeed logs to syslog/splunk via udp. |
LiteSpeed + PHP/Ruby/Python/Perl/Java
Article | Description |
---|---|
How Do I Set Up an External Application? | Setting up LSWS to run with dynamic content |
PHP
Article | Description |
---|---|
PHP 4/5 with LSAPI | Compiling and installing custom PHP with LSAPI |
PHP 4/5 with LSAPI Troubleshoot | Compiling and installing custom PHP with LSAPI Troubleshooting Guide |
How Do I Configure LSWS for PHP? | A step-by-step guide |
PHP Opcode Cache: APC | How to setup proper opcode caching for PHP |
PHP LSAPI Ubuntu Package | How to create a .deb package with PHP + LSAPI for Ubuntu Dapper Drake and Edgy Eft |
PHP + Oracle | How to connect to Oracle with PHP + LSAPI |
PHP5 + Suhosin Patch and Extension | How to build a Litespeed PHP5 LSAPI With Suhosin Patch and Extension |
PHP5 + Suhosin Patch and Extension (FreeBSD 6.2) | How to build a Litespeed PHP5 LSAPI With Suhosin Patch and Extension on FreeBSD 6.2 |
PHP Upload Progress Bar | How to setup upload progress bar for PHP |
PHP/MySQL | Performance tip: avoid php/mysql persistent connections. |
LSPHP Command Line Mode | Good for service scalability. |
Run multiple PHPs in LiteSpeed + Control Panel | How to run multiple PHPs in LiteSpeed together with control panel |
PHP Basic Troubleshooting Guide | Basic Steps to troubleshoot PHP related issues (aka 503 error) in LSWS. |
CloudLinux PHP Selector How-To | PHP Selector(CloudLinux) How-To: Install and Configurations with LSWS |
Run PHP as long as possible | How to Run PHP as Long as Possible |
Environment Variables for PHP FCGI Applications? | Supported environment variables for non-LSAPI applications |
Ruby/Rails
Article | Description |
---|---|
Ruby on Rails Easy Configuration | The easiest way to configure Rails application (LSWS v2.2 and above) |
Rails Shared Hosting Configuration | Setup Rails application through user manageable configuration file in shared hosting environment |
Rails Manual Configuration | Detail steps to configure Rails application manually |
Ruby on Rails with Mongrel | Install How-To |
Capistrano | LiteSpeed, LSAPI, and Capistrano How-To |
Debug a live Ruby process | How to inspect a live Ruby process |
Rails trouble shooting | Steps to trouble shoot problem with a Rails application |
Memcache | Tip about using Memcache with LSAPI |
Speed Up Initialization | Tip about speeding up Rails initialization even more |
eRuby setup | How to setup eRuby under LSWS |
Python
Article | Description |
---|---|
Python with FastCGI | How to install a FastCGI based Python application |
Trac SCM with FastCGI | How to install a Trac SCM project with FastCGI |
Django web framework with FastCGI | How to deploy Django project with FastCGI |
Django web framework with ajp-wsgi | How to deploy Django project with ajp |
Apache mod_wsgi app in litespeed | How to run Apache mod_wsgi python app in litespeed |
Perl
Article | Description |
---|---|
Catalyst MVC with FastCGI | How to install a the Catalyst Framework using FastCGI |
Apache mod_perl equivalent | How to use the persistent Perl CGI daemon? |
Java
Article | Description |
---|---|
How Do I Set Up a Servlet Engine to Run JSP? | How to set up LSWS to work with JavaServer Pages |
Replacing Apache With LiteSpeed
Apache/Web Hosting Control Panel Migration
Article | Description |
---|---|
Quick cPanel Conversion | How to convert your cPanel server to LiteSpeed in 20 minutes |
LiteSpeed + cPanel | How to use LiteSpeed together with cPanel |
LiteSpeed + DirectAdmin | How to use LiteSpeed together with DirectAdmin |
LiteSpeed + Plesk | How to use LiteSpeed together with Plesk |
LiteSpeed + Other Control Panels | How to use LiteSpeed together with other control panels |
Apache mod_perl Equivalent | How to use the persistent Perl CGI daemon? |
Custom/Per user php.ini in LiteSpeed + Control Panel | How to use custom/per user php.ini in LiteSpeed together with control panel |
Run multiple PHPs in LiteSpeed + Control Panel | How to run multiple PHPs in LiteSpeed together with control panel |
mod_security compatibility | Apache mod_security 2.5+ compatibility |
mod_security compatibility tips & tricks | Tips and tricks for mod_security 2.5+ compatibility |
cPanel Apache Migration FAQ | Answers To cPanel Migration Questions |
Apache (without Web Hosting Control Panel) Migration
Article | Description |
---|---|
Apache (standalone) Migration | How to convert your standalone Apache to LiteSpeed |
HTTPS/SSL Configuration
Article | Description |
---|---|
Create a SSL private key | How to create a SSL private key |
Self signed SSL certificate | How to create a self signed SSL certificate |
Create a certificate request | How to create a SSL certificate request for applying a trusted SSL certificate from CA issuer. |
Install a SSL certificate | How to install a SSL certificate |
Secure web admin console | How to secure web administration console with SSL |
Redirect to https connection | How to redirect from plain http connection to secured https connection |
LiteSpeed Advances
Security
Article | Description |
---|---|
Shared Hosting Securities | Access Permission isolation |
suEXEC | Process UID isolation: CGI/FCGI/LSAPI/PHP |
chroot | Process Execution isolation |
CloudLinux CageFS How-To | Installation and Configurations |
CloudLinux PHP Selector How-To | PHP Selector(CloudLinux) How-To: Install and Configurations with LSWS |
Mitigating HTTP-level DDoS Attacks | How to mitigate DDoS attacks with LSWS's security features |
Mitigating SYN Floods | How to harden your kernel against SYN floods |
Cache
Article | Description |
---|---|
Guideline | General Guideline for LiteSpeed Cache |
LSWS Cache + IP Board | How to enable LSWS cache for Invision Power Board (IP Board) |
LSWS Cache + Magento | How to enable LSWS cache for Magento |
LSWS Cache + vBulletin | How to enable LSWS cache for vBulletin |
LSWS Cache + vBSEO | How to setup LSWS cache in vBSEO |
LSWS Cache PURGE | How to purge LSWS cache |
LSWS Cache Reverse Proxy | How to setup cache reverse proxy |
Add-Ons
Article | Description |
---|---|
SNMP Monitoring + Cacti Graphing | Monitor LiteSpeed real-time metrics via SNMP client and full-Cacti log/graph integration |
Server Status + RRD Graphing | Monitor LiteSpeed Server Status via RRD Graph |
Piped Logger | Flexible logging with piped logger |
AWstats | How to use integrated AWstats log analyzer |
Auto Index Customization | How to customize auto index script |
Microsoft FrontPage Server Extensions 2002 | How to install Microsoft FrontPage Server Extensions 2002 |
Custom Templates
Article | Description |
---|---|
WP Super Cache | Template and tutorial for quick and easy setup of LSWS with WordPress and WP Super Cache |
Reverse Proxy | Use a template to set up LSWS as a reverse proxy in under seven minutes |
Licenses
Article | Description |
---|---|
What License to Choose | How to choose a license that fits my need |
Trial License | How to apply a trial license and related information about trial version |
Activate License | How to activate a new license on a new or existing installation |
Transfer/Release License | How to transfer or release existing license so it can be used on another server |
Upgrade/Downgrade License | How to upgrade or downgrade my current license |
Yearly Upgrade for Owned License | How to purchase yearly upgrade for owned license |
Cancel license | How to cancel my leased license |
All about Licenses | Other FAQ regarding licenses |
Command Reference | Quick Reference for All Commands |