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
Next revision Both sides next revision
litespeed_wiki:config:understanding_500 [2019/01/11 18:43]
Jackson Zhang [CloudLinux LVE Limit Reached]
litespeed_wiki:config:understanding_500 [2019/04/08 15:00]
Jackson Zhang
Line 71: Line 71:
 The correct syntax is the following and it should fix the 500 error for Apache: The correct syntax is the following and it should fix the 500 error for Apache:
   Header always set Strict-Transport-Security:​ "​max-age=63072000;​ includeSubDomains;​ preload"​   Header always set Strict-Transport-Security:​ "​max-age=63072000;​ includeSubDomains;​ preload"​
 +==== Example 5 ==== 
 +Syntax wrong for the following:​ 
 +  Options All –Indexes 
 +It should be: 
 +  Options -Indexes 
 +   
 ===== Different level of Rewrite rules misplaced to the wrong level ===== ===== Different level of Rewrite rules misplaced to the wrong level =====
  
Line 130: Line 135:
 It will bring the website to 500 immediately. It will bring the website to 500 immediately.
 This is only one example. Many times, wrong PHP syntax will lead to a 500 error. This is only one example. Many times, wrong PHP syntax will lead to a 500 error.
 +
 +Another example is:
 +  <?php
 +  phpinfo():
 +  ?>
 +
 +A typing error '':''​ in phpinfo page , which should be '';'',​ will lead to 500 error. ​
  
 ===== PHP Code with wrong php configuration settings ===== ===== PHP Code with wrong php configuration settings =====
  • Admin
  • Last modified: 2019/12/10 19:33
  • by Lisa Clarke