Differences

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

Link to this comparison view

litespeed_wiki:config:suexec-mode [2015/07/29 15:55]
Michael Alegre created
litespeed_wiki:config:suexec-mode [2015/11/11 21:30]
Michael Alegre
Line 12: Line 12:
   - Set "CGI Set UID Mode" to "​Docroot UID"   - Set "CGI Set UID Mode" to "​Docroot UID"
   - Add your web application under "​External Apps" tab.   - Add your web application under "​External Apps" tab.
-  - Set "​Script Handler"​ if the application is to handle scripts with specific ​suffxi ​like "​.php"​+  - Set "​Script Handler"​ if the application is to handle scripts with specific ​suffix ​like "​.php"​
   - Add a "​Context"​ if the application is to handle a specific request URI.   - Add a "​Context"​ if the application is to handle a specific request URI.
-  - Make sure the ownership of document root of the virtual host has been set properly. ​Priviledge ​user with user ID below "​Minimum UID" is not allowed.+  - Make sure the ownership of document root of the virtual host has been set properly. ​Privileged ​user with user ID below "​Minimum UID" is not allowed.
   - Restart LiteSpeed server.   - Restart LiteSpeed server.
  
 ===== Example: PHP SuEXEC ===== ===== Example: PHP SuEXEC =====
-To run PHP in SuEXEC mode, first, you need to define a virtual host level lsphp application similar to the pre-configured global lsphp application. Make sure to use a different "​name"​ and "​Address",​ such as using $VH_NAME as prefix. After that, you need to override the global ​php script handler by adding a virtual host level one. "​Script Handler"​ configuration is under the "​General"​ tab of that virtual host configuration.+To run PHP in SuEXEC mode, first, you need to define a virtual host level lsphp application similar to the pre-configured global lsphp application. Make sure to use a different "​name"​ and "​Address",​ such as using $VH_NAME as prefix. After that, you need to override the global ​PHP script handler by adding a virtual host level one. "​Script Handler"​ configuration is under the "​General"​ tab of that virtual host configuration.
  • Admin
  • Last modified: 2015/11/11 21:30
  • by Michael Alegre