Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:config [2018/08/20 17:55]
Jackson Zhang [New: LSWS 5.3 features Highlight]
litespeed_wiki:config [2020/09/03 20:36]
Jackson Zhang [Header Settings]
Line 35: Line 35:
   * [[litespeed_wiki:​cloudlinux:​lsphp_criu_enable| PHP CRIU support in CloudLinux environments]]   * [[litespeed_wiki:​cloudlinux:​lsphp_criu_enable| PHP CRIU support in CloudLinux environments]]
   * [[litespeed_wiki:​cache:​common:​geoip-support| Maxmind database support for GeoIP2 lookup]]   * [[litespeed_wiki:​cache:​common:​geoip-support| Maxmind database support for GeoIP2 lookup]]
-  * [[litespeed_wiki:​cache:​common:​gzip-brotli-automatic-conversion| ​BROTLI ​compression for dynamic responses and automatic ​GZIP and BROTLI ​conversion for cached pages]] +  * [[litespeed_wiki:​cache:​common:​gzip-brotli-automatic-conversion| ​Brotli ​compression for dynamic responses and automatic ​gzip and brotli ​conversion for cached pages]] 
-  * [[litespeed_wiki:​auto-fix-cache-files-directories-permission| ​ Improved cache engine to fix bad cache storage directory and file permissions.]]+  * [[litespeed_wiki:cache:​auto-fix-cache-files-directories-permission| ​ Improved cache engine to fix bad cache storage directory and file permissions]] 
 +  * [[litespeed_wiki:​config:​lsws5.3-rewrite-improvement| Improve rewrite Engine to match Apache behavior]]
 ===== Performance Tips===== ===== Performance Tips=====
   * [[litespeed_wiki:​php:​improve-performance|How to improve site performance]]   * [[litespeed_wiki:​php:​improve-performance|How to improve site performance]]
Line 52: Line 53:
   * [[litespeed_wiki:​config:​Enable PageSpeed|How to enable the PageSpeed module]]   * [[litespeed_wiki:​config:​Enable PageSpeed|How to enable the PageSpeed module]]
   * [[litespeed_wiki:​config:​Compare PageSpeed and LSCache|Comparing PageSpeed and LSCache]]   * [[litespeed_wiki:​config:​Compare PageSpeed and LSCache|Comparing PageSpeed and LSCache]]
-  ​+ 
 +===== LiteSpeed-Supported mod_passenger Rules ===== 
 +  * [[litespeed_wiki:​config:​mod_passenger|LiteSpeed-Supported mod_passenger Rules]] ​  
 ===== Proxy ===== ===== Proxy =====
   * [[litespeed_wiki:​proxy:​lsws-as-a-proxy|How to set up LiteSpeed Web Server as a Proxy via Contexts]]   * [[litespeed_wiki:​proxy:​lsws-as-a-proxy|How to set up LiteSpeed Web Server as a Proxy via Contexts]]
Line 64: Line 68:
   * [[litespeed_wiki:​config:​CORS|How to enable CORS on LSWS]]   * [[litespeed_wiki:​config:​CORS|How to enable CORS on LSWS]]
   * [[litespeed_wiki:​config:​Server Push|How to use Server Push on LSWS]]   * [[litespeed_wiki:​config:​Server Push|How to use Server Push on LSWS]]
 +  * [[litespeed_wiki:​config:​header-edit-set-cookie|Alternative way for Header "​edit"​ directive on LSWS]]
 ===== Security ​ ===== ===== Security ​ =====
   * [[https://​www.litespeedtech.com/​docs/​webserver/​security|LiteSpeed Web Server Security Overview]]   * [[https://​www.litespeedtech.com/​docs/​webserver/​security|LiteSpeed Web Server Security Overview]]
Line 79: Line 83:
   * [[litespeed_wiki:​config:​wordpress-protection|How WordPress Brute Force Protection works]]   * [[litespeed_wiki:​config:​wordpress-protection|How WordPress Brute Force Protection works]]
   * [[litespeed_wiki:​config:​authenticate|How to setup Site Authentication through context or .htaccess]]   * [[litespeed_wiki:​config:​authenticate|How to setup Site Authentication through context or .htaccess]]
-  ​+  ​* [[litespeed_wiki:​config:​recaptcha|reCAPTCHA]] 
 +  * [[litespeed_wiki:​config:​csf|ConfigServer Security & Firewall (CSF) LiteSpeed Configuration]] 
 +  * [[litespeed_wiki:​config:​disable-http-methods|How to disable OPTIONS/​TRACE/​TRACK http methods]]
 ==== LSWS Built in Anti-DDoS Protection ==== ==== LSWS Built in Anti-DDoS Protection ====
   * [[https://​store.litespeedtech.com/​store/​knowledgebase.php?​action=displayarticle&​id=125|Understanding LiteSpeed Advanced Anti-DDos Setup Service]]   * [[https://​store.litespeedtech.com/​store/​knowledgebase.php?​action=displayarticle&​id=125|Understanding LiteSpeed Advanced Anti-DDos Setup Service]]
Line 93: Line 99:
   * [[litespeed_wiki:​config:​https-redirect|How to redirect from plain http connection to secured https connection]]   * [[litespeed_wiki:​config:​https-redirect|How to redirect from plain http connection to secured https connection]]
   * [[litespeed_wiki:​config:​ocsp-stapling|How to set up OCSP stapling for faster SSL]]   * [[litespeed_wiki:​config:​ocsp-stapling|How to set up OCSP stapling for faster SSL]]
 +  * [[litespeed_wiki:​config:​letsencrypt-ssl|How to set up SSL with Let's encrypt]]
   * [[litespeed_wiki:​faq:​disabling-http2|Disabling HTTP/2 per virtual host]]   * [[litespeed_wiki:​faq:​disabling-http2|Disabling HTTP/2 per virtual host]]
  
Line 104: Line 111:
   * [[litespeed_wiki:​config:​real-time-stats|Real-Time Statistics in Admin Console]]   * [[litespeed_wiki:​config:​real-time-stats|Real-Time Statistics in Admin Console]]
   * [[litespeed_wiki:​config:​error-messages|How to deal with "Child Process Killed"​ message in stderr.log]]   * [[litespeed_wiki:​config:​error-messages|How to deal with "Child Process Killed"​ message in stderr.log]]
-  ​ 
-===== Debugging ===== 
-  * [[litespeed_wiki:​config:​bug-reporting|How to file a LiteSpeed bug report]] 
-  * [[litespeed_wiki:​config:​toggle-debug-logging|Toggle Debug Logging: A feature for quickly switching between normal and very detailed log levels]] 
-  * [[litespeed_wiki:​config:​rewrite-logs|How to Enable Rewrite Logging: The first step in debugging rewrite rules]] 
-  * [[litespeed_wiki:​config:​rewrite-rule-troubleshooting|How to Debug Rewrite Rules]] 
   ​   ​
 ===== Streaming Media ===== ===== Streaming Media =====
Line 116: Line 117:
  
 ===== Tuning ===== ===== Tuning =====
-  * [[litespeed_wiki:​config:​brotli:​disable-per|How to disable ​Brotli on a per Account/​Domain basis]] +  * [[litespeed_wiki:​config:​brotli:​start|How to Disable ​Brotli ​Server Wide or on a per Account/​Domain basis]]
-  * [[litespeed_wiki:​config:​brotli:​disable-server|How to disable Brotli Server Wide]]+
   * [[litespeed_wiki:​config:​gzip-compression|How to use gzip compression to save bandwidth]]   * [[litespeed_wiki:​config:​gzip-compression|How to use gzip compression to save bandwidth]]
 +  * [[litespeed_wiki:​config:​gzip-compression-enable-globally-disable-VH|How to disable gzip compression on VH level while enabled globally?]]
   * [[litespeed_wiki:​config:​linux-kernel-tune|How to tune Linux OS for maximum performance for LiteSpeed.]]   * [[litespeed_wiki:​config:​linux-kernel-tune|How to tune Linux OS for maximum performance for LiteSpeed.]]
   * [[litespeed_wiki:​config:​increasing-os-file-descriptor-limit|How to increase the file descriptor limit]]   * [[litespeed_wiki:​config:​increasing-os-file-descriptor-limit|How to increase the file descriptor limit]]
Line 126: Line 127:
   * [[litespeed_wiki:​config:​ram_disk_path|Understanding RAM Disk Path Setting and its role in I/O load]]   * [[litespeed_wiki:​config:​ram_disk_path|Understanding RAM Disk Path Setting and its role in I/O load]]
   * [[litespeed_wiki:​config:​keep_alive|How to set "keep alive" for your site]]   * [[litespeed_wiki:​config:​keep_alive|How to set "keep alive" for your site]]
-  ​+  ​* [[litespeed_wiki:​config:​disable_php_override_htaccess|How to disable PHP override in .htaccess with LSWS?]] 
 +  * [[litespeed_wiki:​config:​external_application_abort|How to keep a script running even the client disconnected?​]] 
 +  * [[litespeed_wiki:​config:​envirnment_variables|Special environment variables in LiteSpeed Rewrite Rules]] 
 +===== Rewrite rules ===== 
 +  * [[litespeed_wiki:​config:​rewrite-rules-lsws-vs-apache|Differences in Rewrite rules between LSWS and Apache]] 
 +  * [[litespeed_wiki:​config:​special-rewrite-rule-directive|How to use special directives in rewrite rules]] 
 +  * [[litespeed_wiki:​config:​rewrite-inside-location-not-supported|Rewrite rules inside <​Location>​ or <​FileMatch>​ are not supported by LSWS]] 
 +  * [[litespeed_wiki:​troubleshooting:​rewrite_difference_on_l_flag_between_lsws_and_apache|Rewrite difference on "​L"​ Flag between LSWS and Apache]]
 ===== Miscellaneous Customization ===== ===== Miscellaneous Customization =====
-  * [[litespeed_wiki:​config:​AutoIndex|Auto Index Customization:​ How to customize auto index script]]+  * [[litespeed_wiki:​config:​AutoIndex|AutoIndex ​Customization:​ How to customize auto index script]]
   * [[litespeed_wiki:​config:​microsoft-frontpage-server-extensions-2002-installation|How to install Microsoft FrontPage Server Extensions 2002]]   * [[litespeed_wiki:​config:​microsoft-frontpage-server-extensions-2002-installation|How to install Microsoft FrontPage Server Extensions 2002]]
   * [[litespeed_wiki:​config:​multiviews|How to handle MultiViews]]   * [[litespeed_wiki:​config:​multiviews|How to handle MultiViews]]
Line 135: Line 143:
   * [[litespeed_wiki:​config:​add-mime-type|How to add MIME type if it doesn'​t exist]]   * [[litespeed_wiki:​config:​add-mime-type|How to add MIME type if it doesn'​t exist]]
   * [[litespeed_wiki:​config:​show-real-ip-behind-a-proxy|How to restore a real visitor IP behind a proxy]]   * [[litespeed_wiki:​config:​show-real-ip-behind-a-proxy|How to restore a real visitor IP behind a proxy]]
-  * [[litespeed_wiki:​config:​special-rewrite-rule-directive|How to use special directives in rewrite rules]] 
   * [[litespeed_wiki:​config:​redirect_cgi-bin_no_exist_404|How to fix the 404 error when redirecting /​cgi-bin/​script]]   * [[litespeed_wiki:​config:​redirect_cgi-bin_no_exist_404|How to fix the 404 error when redirecting /​cgi-bin/​script]]
-  ​ +  * [[litespeed_wiki:​config:​internal-redirect|Internal Redirect: For those seeking x-sendfile or x-accel-redirect feature. We show you how with LiteSpeed.]] 
-===== Virtual Hosting ===== +  * [[litespeed_wiki:​config:​ifdefine-ifmodule-litespeed-apache-difference|IfDefine/​IfModule,​ LiteSpeed acts differently than Apache]]
-  ​* [[litespeed_wiki:​config:​name-based-virtual-hosting-setup|How to set up name-based virtual hosting]] +
-  * [[litespeed_wiki:​config:​ip-based-virtual-hosting-setup|How to set up IP-based virtual hosting]]+
  
 ===== Troubleshooting errors ===== ===== Troubleshooting errors =====
Line 146: Line 151:
   * [[litespeed_wiki:​config:​understanding_404|Understanding 404 error how to fix it]]   * [[litespeed_wiki:​config:​understanding_404|Understanding 404 error how to fix it]]
   * [[litespeed_wiki:​config:​understanding_403|Understanding what may cause 403 error]]   * [[litespeed_wiki:​config:​understanding_403|Understanding what may cause 403 error]]
 +  * [[litespeed_wiki:​config:​max_SSL_connections_reached|How to fix "max SSL connections reached"​]]
  
 ===== Setup LSWS as load balancer ===== ===== Setup LSWS as load balancer =====
   * [[litespeed_wiki:​proxy:​lsws-as-a-load-balancer|How to set up LSWS as load balancer]]   * [[litespeed_wiki:​proxy:​lsws-as-a-load-balancer|How to set up LSWS as load balancer]]
  
 +===== Unsupported Apache modules or directives =====
 +  * [[litespeed_wiki:​config:​unsupported_apache_modules_by_lsws|Apache modules or directives LSWS does support yet]]
  
 +===== LSWS native: Virtual Hosting =====
 +  * [[litespeed_wiki:​config:​name-based-virtual-hosting-setup|How to set up name-based virtual hosting]]
 +  * [[litespeed_wiki:​config:​ip-based-virtual-hosting-setup|How to set up IP-based virtual hosting]]
 +
 +
 +===== Debugging =====
 +  * [[litespeed_wiki:​config:​bug-reporting|How to file a LiteSpeed bug report]]
 +  * [[litespeed_wiki:​config:​toggle-debug-logging|Toggle Debug Logging: A feature for quickly switching between normal and very detailed log levels]]
 +  * [[litespeed_wiki:​config:​rewrite-logs|How to Enable Rewrite Logging: The first step in debugging rewrite rules]]
 +  * [[litespeed_wiki:​config:​rewrite-rule-troubleshooting|How to Debug Rewrite Rules]]
 +  ​
 ===== Custom Templates ===== ===== Custom Templates =====
 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.// 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.//
  • Admin
  • Last modified: 2020/09/03 20:37
  • by Jackson Zhang