Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:config:understanding_500 [2019/04/03 15:57] Jackson Zhang [Bad PHP Code] |
litespeed_wiki:config:understanding_500 [2019/04/29 16:03] Jackson Zhang [Perl script missing "Content-Type" header may return 500] |
||
---|---|---|---|
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 259: | Line 264: | ||
</code> | </code> | ||
You can check the example [[https://users.cs.cf.ac.uk/Dave.Marshall/PERL/node196.html|here]]. | You can check the example [[https://users.cs.cf.ac.uk/Dave.Marshall/PERL/node196.html|here]]. | ||
+ | |||
+ | ===== OWASP ModSecurity rule set may trigger 500 when using Imunify360 together ===== | ||
+ | OWASP rule set may conflict with Imunify360 default rule set on a server running LiteSpeed Web Server. Please choose only one mod_security rule set. |