Differences

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

Link to this comparison view

litespeed_wiki:config:script_restricted [2015/06/23 17:17]
Jackson Zhang created
litespeed_wiki:config:script_restricted [2015/06/23 17:47] (current)
Jackson Zhang
Line 1: Line 1:
 ===== How to fix script restriction error ===== ===== How to fix script restriction error =====
  
-Site is down somehow and error log shows "file permission is restricted for script"​. LiteSpeed has a security setting "​Script Restricted Permission Mask". If it is set without care, it may cause the site down. +Site is down somehow and error log shows "file permission is restricted for script"​. LiteSpeed has a security setting ​[[https://​www.litespeedtech.com/​docs/​webserver/​config/​security#​restrictedScriptPermissionMask|"​Script Restricted Permission Mask"]]. If it is set without care, it may cause the site down. 
  
 This setting is used to specify the restricted permission mask for script files that the web server will not serve. For example, to prohibit serving PHP scripts that are group and world writable, set the mask to 022. Default value is 000. This setting is used to specify the restricted permission mask for script files that the web server will not serve. For example, to prohibit serving PHP scripts that are group and world writable, set the mask to 022. Default value is 000.
  
 Reset back to default value "​000"​ may fix your script restriction issue and restore your site.  Reset back to default value "​000"​ may fix your script restriction issue and restore your site. 
  • Admin
  • Last modified: 2015/06/23 17:17
  • by Jackson Zhang