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 [2019/01/14 22:00]
Lisa Clarke [Security]
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:​cache:​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]]   * [[litespeed_wiki:​config:​lsws5.3-rewrite-improvement| Improve rewrite Engine to match Apache behavior]]
Line 53: 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 65: 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 81: Line 84:
   * [[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:​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 113: 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:​gzip-compression-enable-globally-disable-VH|How to disable gzip compression on VH level while enabled globally?]]
Line 124: 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|AutoIndex Customization:​ How to customize auto index script]]   * [[litespeed_wiki:​config:​AutoIndex|AutoIndex Customization:​ How to customize auto index script]]
Line 133: 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.]]   * [[litespeed_wiki:​config:​internal-redirect|Internal Redirect: For those seeking x-sendfile or x-accel-redirect feature. We show you how with LiteSpeed.]]
-  * [[litespeed_wiki:​config:​rewrite-inside-location-not-supported|Rewrite rules inside <​Location>​ or <​FileMatch>​ are not supported by LSWS]]+  * [[litespeed_wiki:​config:​ifdefine-ifmodule-litespeed-apache-difference|IfDefine/​IfModule,​ LiteSpeed acts differently than Apache]]
  
 ===== Troubleshooting errors ===== ===== Troubleshooting errors =====
Line 148: Line 157:
  
 ===== Unsupported Apache modules or directives ===== ===== Unsupported Apache modules or directives =====
-  * [[litespeed_wiki:​config:​unsupported_apache_modules_by_lsws|Apache ​moduels ​or directives LSWS does support yet]]+  * [[litespeed_wiki:​config:​unsupported_apache_modules_by_lsws|Apache ​modules ​or directives LSWS does support yet]]
  
 ===== LSWS native: Virtual Hosting ===== ===== LSWS native: Virtual Hosting =====
  • Admin
  • Last modified: 2020/09/03 20:37
  • by Jackson Zhang